Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: extensions/shell/browser/shell_app_view_guest_delegate.cc

Issue 820583002: Adds support for media permission request handling on <appview> tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_app_view_guest_delegate.cc
diff --git a/extensions/shell/browser/shell_app_view_guest_delegate.cc b/extensions/shell/browser/shell_app_view_guest_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4662eba12949bdc95c4a5227a0f4f040538c430f
--- /dev/null
+++ b/extensions/shell/browser/shell_app_view_guest_delegate.cc
@@ -0,0 +1,27 @@
+// 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::WebContents* web_contents,
+ const content::ContextMenuParams& params) {
+ return false;
+}
+
+AppDelegate* ShellAppViewGuestDelegate::CreateAppDelegate() {
+ return new ShellAppDelegate();
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698