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

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // ChromeClient methods: 146 // ChromeClient methods:
147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override; 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override;
148 virtual String acceptLanguages() override; 148 virtual String acceptLanguages() override;
149 149
150 // ChromeClientImpl: 150 // ChromeClientImpl:
151 void setCursorForPlugin(const WebCursorInfo&); 151 void setCursorForPlugin(const WebCursorInfo&);
152 void setNewWindowNavigationPolicy(WebNavigationPolicy); 152 void setNewWindowNavigationPolicy(WebNavigationPolicy);
153 153
154 virtual bool hasOpenedPopup() const override; 154 virtual bool hasOpenedPopup() const override;
155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const override; 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) override;
156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&);
157 void closePagePopup(PagePopup*); 157 void closePagePopup(PagePopup*);
158 virtual DOMWindow* pagePopupWindowForTesting() const override; 158 virtual DOMWindow* pagePopupWindowForTesting() const override;
159 159
160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, Document::PageDismissalType) const override; 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, Document::PageDismissalType) const override;
161 161
162 virtual bool requestPointerLock() override; 162 virtual bool requestPointerLock() override;
163 virtual void requestPointerUnlock() override; 163 virtual void requestPointerUnlock() override;
164 164
165 virtual bool shouldDisableDesktopWorkarounds() override; 165 virtual bool shouldDisableDesktopWorkarounds() override;
(...skipping 20 matching lines...) Expand all
186 WindowFeatures m_windowFeatures; 186 WindowFeatures m_windowFeatures;
187 187
188 PagePopupDriver* m_pagePopupDriver; 188 PagePopupDriver* m_pagePopupDriver;
189 }; 189 };
190 190
191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
192 192
193 } // namespace blink 193 } // namespace blink
194 194
195 #endif 195 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698