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

Unified Diff: third_party/WebKit/WebCore/page/chromium/ChromeClientChromium.h

Issue 67017: Merge in the WebKit popup menu changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/page/chromium/ChromeClientChromium.h
===================================================================
--- third_party/WebKit/WebCore/page/chromium/ChromeClientChromium.h (revision 13377)
+++ third_party/WebKit/WebCore/page/chromium/ChromeClientChromium.h (working copy)
@@ -35,8 +35,8 @@
#include <wtf/Forward.h>
namespace WebCore {
- class FramelessScrollView;
class IntRect;
+ class PopupContainer;
// Contains Chromium-specific extensions to the ChromeClient. Only put
// things here that don't make sense for other ports.
@@ -44,7 +44,10 @@
public:
// Notifies the client of a new popup widget. The client should place
// and size the widget with the given bounds, relative to the screen.
- virtual void popupOpened(FramelessScrollView* popupView, const IntRect& bounds, bool focusOnShow) = 0;
+ // If handleExternal is true, then drawing and input handling for the
+ // popup will be handled by the external embedder.
+ virtual void popupOpened(PopupContainer* popupContainer, const IntRect& bounds,
+ bool focusOnShow, bool handleExternal) = 0;
};
} // namespace WebCore
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698