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

Side by Side Diff: content/public/browser/web_contents_view_delegate_mac.h

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: fix content_browsertests 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 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_MAC_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_MAC_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "content/common/content_export.h"
11 #include "content/public/browser/web_contents_view_delegate.h"
12
13 @protocol RenderWidgetHostViewMacDelegate;
14
15 namespace content {
16 class RenderWidgetHost;
17
18 // Mac version of WebContentsViewDelegate, to add delegate methods that require
19 // an Objective C++ build.
20 class CONTENT_EXPORT WebContentsViewDelegateMac
21 : public WebContentsViewDelegate {
22 public:
23 // Returns a newly-created delegate for the RenderWidgetHostViewMac, to handle
24 // events on the responder chain.
25 virtual NSObject<RenderWidgetHostViewMacDelegate>*
26 CreateRenderWidgetHostViewDelegate(
27 RenderWidgetHost* render_widget_host) = 0;
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698