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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 years, 1 month 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 | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index aceab57df981f36e58e3e555335c28d5da6647f7..6de93aa3b8c518dff87e92588f3cb81b937f88e0 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -774,6 +774,18 @@ bool BrowserView::IsMinimized() const {
return frame_->IsMinimized();
}
+void BrowserView::Maximize() {
+ frame_->Maximize();
+}
+
+void BrowserView::Minimize() {
+ frame_->Minimize();
+}
+
+void BrowserView::Restore() {
+ frame_->Restore();
+}
+
void BrowserView::EnterFullscreen(
const GURL& url, FullscreenExitBubbleType bubble_type) {
if (IsFullscreen())
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698