| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |