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

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

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, 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 | Annotate | Revision Log
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
« no previous file with comments | « content/public/browser/web_contents_view_delegate.cc ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698