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

Side by Side Diff: chrome/browser/views/frame/browser_view.h

Issue 28072: Make non-glass popups match new mockup from Glen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // avatar icon. 76 // avatar icon.
77 int GetTabStripHeight() const; 77 int GetTabStripHeight() const;
78 78
79 // Accessor for the TabStrip. 79 // Accessor for the TabStrip.
80 TabStrip* tabstrip() const { return tabstrip_; } 80 TabStrip* tabstrip() const { return tabstrip_; }
81 81
82 // Returns true if various window components are visible. 82 // Returns true if various window components are visible.
83 bool IsToolbarVisible() const; 83 bool IsToolbarVisible() const;
84 bool IsTabStripVisible() const; 84 bool IsTabStripVisible() const;
85 85
86 // Returns true if the toolbar is displaying its normal set of controls.
87 bool IsToolbarDisplayModeNormal() const;
88
89 // Returns true if the profile associated with this Browser window is 86 // Returns true if the profile associated with this Browser window is
90 // off the record. 87 // off the record.
91 bool IsOffTheRecord() const; 88 bool IsOffTheRecord() const;
92 89
93 // Returns true if the non-client view should render the Off-The-Record 90 // Returns true if the non-client view should render the Off-The-Record
94 // avatar icon if the window is off the record. 91 // avatar icon if the window is off the record.
95 bool ShouldShowOffTheRecordAvatar() const; 92 bool ShouldShowOffTheRecordAvatar() const;
96 93
97 // Handle the specified |accelerator| being pressed. 94 // Handle the specified |accelerator| being pressed.
98 bool AcceleratorPressed(const views::Accelerator& accelerator); 95 bool AcceleratorPressed(const views::Accelerator& accelerator);
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // P13N stuff 428 // P13N stuff
432 #ifdef CHROME_PERSONALIZATION 429 #ifdef CHROME_PERSONALIZATION
433 FramePersonalization personalization_; 430 FramePersonalization personalization_;
434 bool personalization_enabled_; 431 bool personalization_enabled_;
435 #endif 432 #endif
436 433
437 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); 434 DISALLOW_EVIL_CONSTRUCTORS(BrowserView);
438 }; 435 };
439 436
440 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 437 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/aero_glass_non_client_view.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698