| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // Returns the preferred height of the TabStrip. Used to position the OTR | 140 // Returns the preferred height of the TabStrip. Used to position the OTR |
| 141 // avatar icon. | 141 // avatar icon. |
| 142 virtual int GetTabStripHeight() const; | 142 virtual int GetTabStripHeight() const; |
| 143 | 143 |
| 144 // Takes some view's origin (relative to this BrowserView) and offsets it such | 144 // Takes some view's origin (relative to this BrowserView) and offsets it such |
| 145 // that it can be used as the source origin for seamlessly tiling the toolbar | 145 // that it can be used as the source origin for seamlessly tiling the toolbar |
| 146 // background image over that view. | 146 // background image over that view. |
| 147 gfx::Point OffsetPointForToolbarBackgroundImage( | 147 gfx::Point OffsetPointForToolbarBackgroundImage( |
| 148 const gfx::Point& point) const; | 148 const gfx::Point& point) const; |
| 149 | 149 |
| 150 // Remove the Fullscreen Exit Bubble if shown. |
| 151 void RemoveFullScreenExitBubble(); |
| 152 |
| 150 // Accessor for the TabStrip. | 153 // Accessor for the TabStrip. |
| 151 TabStrip* tabstrip() const { return tabstrip_; } | 154 TabStrip* tabstrip() const { return tabstrip_; } |
| 152 | 155 |
| 153 // Accessor for the Toolbar. | 156 // Accessor for the Toolbar. |
| 154 ToolbarView* toolbar() const { return toolbar_; } | 157 ToolbarView* toolbar() const { return toolbar_; } |
| 155 | 158 |
| 156 // Returns true if various window components are visible. | 159 // Returns true if various window components are visible. |
| 157 virtual bool IsTabStripVisible() const; | 160 virtual bool IsTabStripVisible() const; |
| 158 | 161 |
| 159 // Returns true if the profile associated with this Browser window is | 162 // Returns true if the profile associated with this Browser window is |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 #if defined(USE_AURA) | 726 #if defined(USE_AURA) |
| 724 scoped_ptr<SearchViewController> search_view_controller_; | 727 scoped_ptr<SearchViewController> search_view_controller_; |
| 725 #endif | 728 #endif |
| 726 | 729 |
| 727 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 730 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 728 | 731 |
| 729 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 732 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 730 }; | 733 }; |
| 731 | 734 |
| 732 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 735 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |