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

Unified Diff: public/web/WebView.h

Issue 19804008: Add a Blink API to set window features on a WebView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/web/WebViewImpl.cpp ('k') | public/web/WebWindowFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 128aae1b8c7e356c98a84892790989988ab5a582..2af78f3047418b99e8e010a2cd72783a7c7f11ac 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -64,6 +64,7 @@ struct WebActiveWheelFlingParameters;
struct WebMediaPlayerAction;
struct WebPluginAction;
struct WebPoint;
+struct WebWindowFeatures;
class WebView : public WebWidget {
public:
@@ -145,6 +146,11 @@ public:
// Allows disabling domain relaxation.
virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0;
+ // Allows setting the state of the various bars exposed via BarProp
+ // properties on the window object. The size related fields of
+ // WebWindowFeatures are ignored.
+ virtual void setWindowFeatures(const WebWindowFeatures&) = 0;
+
// Closing -------------------------------------------------------------
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebWindowFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698