| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/gfx/native_widget_types.h" | 10 #include "base/gfx/native_widget_types.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // avatar icon. | 115 // avatar icon. |
| 116 int GetTabStripHeight() const; | 116 int GetTabStripHeight() const; |
| 117 | 117 |
| 118 // Returns the bounds of the TabStrip. Used by themed views to determine the | 118 // Returns the bounds of the TabStrip. Used by themed views to determine the |
| 119 // offset of IDR_THEME_TOOLBAR. | 119 // offset of IDR_THEME_TOOLBAR. |
| 120 gfx::Rect GetTabStripBounds() const; | 120 gfx::Rect GetTabStripBounds() const; |
| 121 | 121 |
| 122 // Accessor for the TabStrip. | 122 // Accessor for the TabStrip. |
| 123 TabStrip* tabstrip() const { return tabstrip_; } | 123 TabStrip* tabstrip() const { return tabstrip_; } |
| 124 | 124 |
| 125 // Accessor for the ExtensionShelf. |
| 126 ExtensionShelf* extension_shelf() const { return extension_shelf_; } |
| 127 |
| 125 // Returns true if various window components are visible. | 128 // Returns true if various window components are visible. |
| 126 bool IsToolbarVisible() const; | 129 bool IsToolbarVisible() const; |
| 127 bool IsTabStripVisible() const; | 130 bool IsTabStripVisible() const; |
| 128 | 131 |
| 129 // Returns true if the profile associated with this Browser window is | 132 // Returns true if the profile associated with this Browser window is |
| 130 // off the record. | 133 // off the record. |
| 131 bool IsOffTheRecord() const; | 134 bool IsOffTheRecord() const; |
| 132 | 135 |
| 133 // Returns true if the non-client view should render the Off-The-Record | 136 // Returns true if the non-client view should render the Off-The-Record |
| 134 // avatar icon if the window is off the record. | 137 // avatar icon if the window is off the record. |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 // A bottom bar for showing extensions. | 468 // A bottom bar for showing extensions. |
| 466 ExtensionShelf* extension_shelf_; | 469 ExtensionShelf* extension_shelf_; |
| 467 | 470 |
| 468 typedef std::set<BrowserBubble*> BubbleSet; | 471 typedef std::set<BrowserBubble*> BubbleSet; |
| 469 BubbleSet browser_bubbles_; | 472 BubbleSet browser_bubbles_; |
| 470 | 473 |
| 471 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 474 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 472 }; | 475 }; |
| 473 | 476 |
| 474 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 477 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |