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

Side by Side Diff: webkit/glue/webview_delegate.h

Issue 17455: Autofill popup dismissed when page loses focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « webkit/glue/chrome_client_impl.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // WebCore provides hooks for several kinds of functionality, allowing separate 5 // WebCore provides hooks for several kinds of functionality, allowing separate
6 // classes termed "delegates" to receive notifications (in the form of direct 6 // classes termed "delegates" to receive notifications (in the form of direct
7 // function calls) when certain events are about to occur or have just occurred. 7 // function calls) when certain events are about to occur or have just occurred.
8 // In some cases, the delegate implements the needed functionality; in others, 8 // In some cases, the delegate implements the needed functionality; in others,
9 // the delegate has some control over the behavior but doesn't actually 9 // the delegate has some control over the behavior but doesn't actually
10 // implement it. For example, the UI delegate is responsible for showing a 10 // implement it. For example, the UI delegate is responsible for showing a
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // made visible until the new WebView's Delegate has its Show method called. 107 // made visible until the new WebView's Delegate has its Show method called.
108 // The returned WebView pointer is assumed to be owned by the host window, 108 // The returned WebView pointer is assumed to be owned by the host window,
109 // and the caller of CreateWebView should not release the given WebView. 109 // and the caller of CreateWebView should not release the given WebView.
110 // user_gesture is true if a user action initiated this call. 110 // user_gesture is true if a user action initiated this call.
111 virtual WebView* CreateWebView(WebView* webview, bool user_gesture) { 111 virtual WebView* CreateWebView(WebView* webview, bool user_gesture) {
112 return NULL; 112 return NULL;
113 } 113 }
114 114
115 // This method is called to create a new WebWidget to act as a popup 115 // This method is called to create a new WebWidget to act as a popup
116 // (like a drop-down menu). 116 // (like a drop-down menu).
117 virtual WebWidget* CreatePopupWidget(WebView* webview, 117 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable) {
118 bool focus_on_show) {
119 return NULL; 118 return NULL;
120 } 119 }
121 120
122 // This method is called to create a WebPluginDelegate implementation when a 121 // This method is called to create a WebPluginDelegate implementation when a
123 // new plugin is instanced. See webkit_glue::CreateWebPluginDelegateHelper 122 // new plugin is instanced. See webkit_glue::CreateWebPluginDelegateHelper
124 // for a default WebPluginDelegate implementation. 123 // for a default WebPluginDelegate implementation.
125 // TODO(port): clsid is very Win- and ActiveX-specific; refactor to be more 124 // TODO(port): clsid is very Win- and ActiveX-specific; refactor to be more
126 // platform-neutral 125 // platform-neutral
127 virtual WebPluginDelegate* CreatePluginDelegate( 126 virtual WebPluginDelegate* CreatePluginDelegate(
128 WebView* webview, 127 WebView* webview,
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 767
769 WebViewDelegate() { } 768 WebViewDelegate() { }
770 virtual ~WebViewDelegate() { } 769 virtual ~WebViewDelegate() { }
771 770
772 private: 771 private:
773 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate); 772 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate);
774 }; 773 };
775 774
776 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__ 775 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
777 776
OLDNEW
« no previous file with comments | « webkit/glue/chrome_client_impl.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698