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

Side by Side 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, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/public/browser/web_contents_view_delegate.h"
6
7 #include <stddef.h>
8
9 namespace content {
10
11 WebContentsViewDelegate::~WebContentsViewDelegate() {
12 }
13
14 WebDragDestDelegate* WebContentsViewDelegate::GetDragDestDelegate() {
15 return NULL;
16 }
17
18 void WebContentsViewDelegate::ShowContextMenu(
19 RenderFrameHost* render_frame_host,
20 const ContextMenuParams& params) {
21 }
22
23 void WebContentsViewDelegate::StoreFocus() {
24 }
25
26 void WebContentsViewDelegate::RestoreFocus() {
27 }
28
29 bool WebContentsViewDelegate::Focus() {
30 return false;
31 }
32
33 void WebContentsViewDelegate::TakeFocus(bool reverse) {
34 }
35
36 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
37 }
38
39 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate(
40 RenderWidgetHost* render_widget_host) {
41 return NULL;
42 }
43
44 } // namespace content
OLDNEW
« 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