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

Unified Diff: Source/core/page/Chrome.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 | « no previous file | Source/core/page/Chrome.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Chrome.h
diff --git a/Source/core/page/Chrome.h b/Source/core/page/Chrome.h
index ecddbbeeff5526118bfae4af22728f0ea8217615..0d1a127e7ff447a5f6b8a8aa680e702e94f8223e 100644
--- a/Source/core/page/Chrome.h
+++ b/Source/core/page/Chrome.h
@@ -50,7 +50,8 @@ class SearchPopupMenu;
struct DateTimeChooserParameters;
struct ViewportArguments;
-
+struct WindowFeatures;
+
class Chrome : public HostWindow {
public:
~Chrome();
@@ -92,20 +93,13 @@ public:
bool canRunModalNow() const;
void runModal() const;
- void setToolbarsVisible(bool) const;
- bool toolbarsVisible() const;
+ void setWindowFeatures(const WindowFeatures&) const;
- void setStatusbarVisible(bool) const;
+ bool toolbarsVisible() const;
bool statusbarVisible() const;
-
- void setScrollbarsVisible(bool) const;
bool scrollbarsVisible() const;
-
- void setMenubarVisible(bool) const;
bool menubarVisible() const;
- void setResizable(bool) const;
-
bool canRunBeforeUnloadConfirmPanel();
bool runBeforeUnloadConfirmPanel(const String& message, Frame*);
« no previous file with comments | « no previous file | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698