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

Unified Diff: content/public/browser/web_contents_view_delegate.cc

Issue 489763002: MacViews: Gets a webview working in views_examples_with_content_exe Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 6 years, 4 months 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: content/public/browser/web_contents_view_delegate.cc
diff --git a/content/public/browser/web_contents_view_delegate.cc b/content/public/browser/web_contents_view_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5902e23d920ed390f0409553f0ffdaa41083ef4b
--- /dev/null
+++ b/content/public/browser/web_contents_view_delegate.cc
@@ -0,0 +1,47 @@
+// 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 "content/public/browser/web_contents_view_delegate.h"
+
+#include <stddef.h>
+
+namespace content {
+
+WebContentsViewDelegate::~WebContentsViewDelegate() {
+}
+
+WebDragDestDelegate* WebContentsViewDelegate::GetDragDestDelegate() {
+ return NULL;
+}
+
+void WebContentsViewDelegate::ShowContextMenu(
+ RenderFrameHost* render_frame_host,
+ const ContextMenuParams& params) {
+}
+
+bool WebContentsViewDelegate::StoreFocus() {
+ return false;
+}
+
+bool WebContentsViewDelegate::RestoreFocus() {
+ return false;
+}
+
+bool WebContentsViewDelegate::Focus() {
+ return false;
+}
+
+bool WebContentsViewDelegate::TakeFocus(bool reverse) {
+ return false;
+}
+
+void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
+}
+
+WebContentsViewDelegateMac*
+WebContentsViewDelegate::AsWebContentsViewDelegateMac() {
+ return NULL;
+}
+
+} // namespace content
« no previous file with comments | « content/public/browser/web_contents_view_delegate.h ('k') | content/public/browser/web_contents_view_delegate_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698