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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, Google Inc. All rights reserved. 2 * Copyright (c) 2008, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef ChromeClientChromium_h 31 #ifndef ChromeClientChromium_h
32 #define ChromeClientChromium_h 32 #define ChromeClientChromium_h
33 33
34 #include "ChromeClient.h" 34 #include "ChromeClient.h"
35 #include <wtf/Forward.h> 35 #include <wtf/Forward.h>
36 36
37 namespace WebCore { 37 namespace WebCore {
38 class FramelessScrollView;
39 class IntRect; 38 class IntRect;
39 class PopupContainer;
40 40
41 // Contains Chromium-specific extensions to the ChromeClient. Only put 41 // Contains Chromium-specific extensions to the ChromeClient. Only put
42 // things here that don't make sense for other ports. 42 // things here that don't make sense for other ports.
43 class ChromeClientChromium : public ChromeClient { 43 class ChromeClientChromium : public ChromeClient {
44 public: 44 public:
45 // Notifies the client of a new popup widget. The client should place 45 // Notifies the client of a new popup widget. The client should place
46 // and size the widget with the given bounds, relative to the screen. 46 // and size the widget with the given bounds, relative to the screen.
47 virtual void popupOpened(FramelessScrollView* popupView, const IntRect& bounds, bool focusOnShow) = 0; 47 // If handleExternal is true, then drawing and input handling for the
48 // popup will be handled by the external embedder.
49 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& bounds,
50 bool focusOnShow, bool handleExternal) = 0;
48 }; 51 };
49 52
50 } // namespace WebCore 53 } // namespace WebCore
51 54
52 #endif 55 #endif
OLDNEW
« 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