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

Unified Diff: Source/core/page/PagePopupController.h

Issue 1087743002: Support multiple displays for PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed IntRect inclusion Created 5 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 | « Source/core/page/PagePopup.h ('k') | Source/core/page/PagePopupController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PagePopupController.h
diff --git a/Source/core/page/PagePopupController.h b/Source/core/page/PagePopupController.h
index 25a8ac3f85a80596bebb8145609fad19fcb9f908..f931b5babcd6e78571341abf77d8fdcbefbca5ed 100644
--- a/Source/core/page/PagePopupController.h
+++ b/Source/core/page/PagePopupController.h
@@ -39,12 +39,13 @@
namespace blink {
class Document;
+class PagePopup;
class PagePopupClient;
class PagePopupController final : public RefCountedWillBeGarbageCollected<PagePopupController>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PagePopupController> create(PagePopupClient*);
+ static PassRefPtrWillBeRawPtr<PagePopupController> create(PagePopup&, PagePopupClient*);
void setValueAndClosePopup(int numValue, const String& stringValue);
void setValue(const String&);
void closePopup();
@@ -55,12 +56,14 @@ public:
String formatWeek(int year, int weekNumber, const String& localizedStartDate);
void clearPagePopupClient();
void histogramEnumeration(const String& name, int sample, int boundaryValue);
+ void setWindowRect(int x, int y, int width, int height);
DEFINE_INLINE_TRACE() { }
private:
- explicit PagePopupController(PagePopupClient*);
+ PagePopupController(PagePopup&, PagePopupClient*);
+ PagePopup& m_popup;
PagePopupClient* m_popupClient;
};
« no previous file with comments | « Source/core/page/PagePopup.h ('k') | Source/core/page/PagePopupController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698