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

Unified Diff: Source/core/page/PagePopupClient.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 side-by-side diff with in-line comments
Download patch
Index: Source/core/page/PagePopupClient.h
diff --git a/Source/core/page/PagePopupClient.h b/Source/core/page/PagePopupClient.h
index e67ec48da54441c8a473e3e173811aa436d4e81e..3d9597fe9fa58abf27257c1ffe0adcd924edcb83 100644
--- a/Source/core/page/PagePopupClient.h
+++ b/Source/core/page/PagePopupClient.h
@@ -38,6 +38,7 @@
namespace blink {
+class Document;
class Element;
class Locale;
@@ -52,9 +53,12 @@ public:
// - window.setValueAndClosePopup(number, string).
virtual void writeDocument(SharedBuffer*) = 0;
+ // This is called after the document is ready to do additionary setup.
+ virtual void didWriteDocument(Document*) = 0;
+
virtual Element& ownerElement() = 0;
// Returns a Locale object associated to the client.
- virtual Locale& locale() = 0;
+ virtual Locale& locale();
// This is called by the content HTML of a PagePopup.
// An implementation of this function should call ChromeClient::closePagePopup().

Powered by Google App Engine
This is Rietveld 408576698