1234567891011121314151617181920212223242526272829 |
- // Copyright 2014 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "extensions/shell/browser/shell_app_view_guest_delegate.h"
- #include "extensions/shell/browser/shell_app_delegate.h"
- namespace extensions {
- ShellAppViewGuestDelegate::ShellAppViewGuestDelegate() {
- }
- ShellAppViewGuestDelegate::~ShellAppViewGuestDelegate() {
- }
- bool ShellAppViewGuestDelegate::HandleContextMenu(
- content::RenderFrameHost& render_frame_host,
- const content::ContextMenuParams& params) {
- // Eat the context menu request, as AppShell doesn't show context menus.
- return true;
- }
- AppDelegate* ShellAppViewGuestDelegate::CreateAppDelegate(
- content::WebContents* web_contents) {
- return new ShellAppDelegate();
- }
- } // namespace extensions
|