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

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: 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
Index: Source/core/page/PagePopupController.h
diff --git a/Source/core/page/PagePopupController.h b/Source/core/page/PagePopupController.h
index 25a8ac3f85a80596bebb8145609fad19fcb9f908..70dc6aa16e6eb336a11969e8225aab4a0bf81888 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*);
+ explicit PagePopupController(PagePopup*, PagePopupClient*);
tkent 2015/04/14 11:10:05 |explicit| is unnecessary.
keishi 2015/04/14 11:17:45 Done.
+ PagePopup* m_popup;
PagePopupClient* m_popupClient;
};

Powered by Google App Engine
This is Rietveld 408576698