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 | 210 |
211 // Returns true if the specified point(BrowserView coordinates) is in | 211 // Returns true if the specified point(BrowserView coordinates) is in |
212 // in the window caption area of the browser window. | 212 // in the window caption area of the browser window. |
213 bool IsPositionInWindowCaption(const gfx::Point& point); | 213 bool IsPositionInWindowCaption(const gfx::Point& point); |
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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 gfx::ScopedSysColorChangeListener color_change_listener_; | 746 gfx::ScopedSysColorChangeListener color_change_listener_; |
747 | 747 |
748 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; | 748 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; |
749 | 749 |
750 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 750 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
751 | 751 |
752 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 752 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
753 }; | 753 }; |
754 | 754 |
755 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 755 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |