| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool IsPositionInWindowCaption(const gfx::Point& point); | 210 bool IsPositionInWindowCaption(const gfx::Point& point); |
| 211 | 211 |
| 212 // Returns whether the fullscreen bubble is visible or not. | 212 // Returns whether the fullscreen bubble is visible or not. |
| 213 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 213 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
| 214 | 214 |
| 215 // Invoked from the frame when the full screen state changes. This is only | 215 // Invoked from the frame when the full screen state changes. This is only |
| 216 // used on Linux. | 216 // used on Linux. |
| 217 void FullScreenStateChanged(); | 217 void FullScreenStateChanged(); |
| 218 | 218 |
| 219 // See ImmersiveModeController for description. | 219 // See ImmersiveModeController for description. |
| 220 ImmersiveModeController* immersive_mode_controller() { | 220 ImmersiveModeController* immersive_mode_controller() const { |
| 221 return immersive_mode_controller_.get(); | 221 return immersive_mode_controller_.get(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 // Restores the focused view. This is also used to set the initial focus | 224 // Restores the focused view. This is also used to set the initial focus |
| 225 // when a new browser window is created. | 225 // when a new browser window is created. |
| 226 void RestoreFocus(); | 226 void RestoreFocus(); |
| 227 | 227 |
| 228 void SetWindowSwitcherButton(views::Button* button); | 228 void SetWindowSwitcherButton(views::Button* button); |
| 229 | 229 |
| 230 views::Button* window_switcher_button() { | 230 views::Button* window_switcher_button() { |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 gfx::ScopedSysColorChangeListener color_change_listener_; | 747 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 748 | 748 |
| 749 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; | 749 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; |
| 750 | 750 |
| 751 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 751 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 752 | 752 |
| 753 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 753 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 754 }; | 754 }; |
| 755 | 755 |
| 756 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 756 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |