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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.h

Issue 8895003: Aura: Add --aura-laptop-mode to fill the workspace with a single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments 1 Created 9 years 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: chrome/browser/ui/views/frame/browser_frame.h
diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h
index 8b35be588ebb67fed58472525e30837d6730a6f8..ec2be8b7aa7d7b28df92695ec34d0a3e7aca1d41 100644
--- a/chrome/browser/ui/views/frame/browser_frame.h
+++ b/chrome/browser/ui/views/frame/browser_frame.h
@@ -66,6 +66,11 @@ class BrowserFrame : public views::Widget {
// its frame treatment if necessary.
void TabStripDisplayModeChanged();
+ // Returns true for single window mode. ChromeOS and Aura laptop mode use a
+ // single window filling the work area, which does not have a close, maximize,
+ // minimize or restore button and does not draw frame edges.
+ bool IsSingleWindowMode() const;
oshima 2011/12/13 00:47:47 I wonder if there is better name for this. I dont
James Cook 2011/12/13 18:19:13 Yeah, I wish I had a better name also. I'm trying
+
// Overridden from views::Widget:
virtual bool IsMaximized() const OVERRIDE;
virtual views::internal::RootView* CreateRootView() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698