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

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

Issue 507363002: MacViews: Guard Objective-C bits in content::WebContentsViewDelegate with __OBJC__ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OS_MACOSX -> __OBJC__ + void* 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..6483fafe393cd96ba787eae73fc2421aaa3fd480
--- /dev/null
+++ b/content/public/browser/web_contents_view_delegate.cc
@@ -0,0 +1,44 @@
+// 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) {
+}
+
+void WebContentsViewDelegate::StoreFocus() {
+}
+
+void WebContentsViewDelegate::RestoreFocus() {
+}
+
+bool WebContentsViewDelegate::Focus() {
+ return false;
+}
+
+void WebContentsViewDelegate::TakeFocus(bool reverse) {
+}
+
+void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
+}
+
+void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate(
+ RenderWidgetHost* render_widget_host) {
+ return NULL;
+}
+
+} // namespace content
« no previous file with comments | « content/public/browser/web_contents_view_delegate.h ('k') | content/shell/browser/shell_web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698