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

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

Issue 10073014: Add more functionality to WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(TOOLKIT_GTK) 9 #if defined(TOOLKIT_GTK)
10 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // |return_value| has been set and that value should be returned to GTK+. 72 // |return_value| has been set and that value should be returned to GTK+.
73 virtual gboolean OnNativeViewFocusEvent(GtkWidget* widget, 73 virtual gboolean OnNativeViewFocusEvent(GtkWidget* widget,
74 GtkDirectionType type, 74 GtkDirectionType type,
75 gboolean* return_value) = 0; 75 gboolean* return_value) = 0;
76 #elif defined(OS_MACOSX) 76 #elif defined(OS_MACOSX)
77 // Returns a newly-created delegate for the RenderWidgetHostViewMac, to handle 77 // Returns a newly-created delegate for the RenderWidgetHostViewMac, to handle
78 // events on the responder chain. 78 // events on the responder chain.
79 virtual NSObject<RenderWidgetHostViewMacDelegate>* 79 virtual NSObject<RenderWidgetHostViewMacDelegate>*
80 CreateRenderWidgetHostViewDelegate( 80 CreateRenderWidgetHostViewDelegate(
81 RenderWidgetHost* render_widget_host) = 0; 81 RenderWidgetHost* render_widget_host) = 0;
82
83 // Notifications that the native view was created/destroyed.
84 virtual void NativeViewCreated(NSView* view) = 0;
85 virtual void NativeViewDestroyed(NSView* view) = 0;
86 #endif 82 #endif
87 }; 83 };
88 84
89 } // namespace content 85 } // namespace content
90 86
91 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 87 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | ui/views/controls/webview/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698