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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // Restores the focused view. This is also used to set the initial focus | 229 // Restores the focused view. This is also used to set the initial focus |
230 // when a new browser window is created. | 230 // when a new browser window is created. |
231 void RestoreFocus(); | 231 void RestoreFocus(); |
232 | 232 |
233 // Called after the widget's fullscreen state is changed without going through | 233 // Called after the widget's fullscreen state is changed without going through |
234 // FullscreenController. This method does any processing which was skipped. | 234 // FullscreenController. This method does any processing which was skipped. |
235 // Only exiting fullscreen in this way is currently supported. | 235 // Only exiting fullscreen in this way is currently supported. |
236 void FullscreenStateChanged(); | 236 void FullscreenStateChanged(); |
237 | 237 |
238 // Overridden from BrowserWindow: | 238 // Overridden from BrowserWindow: |
239 void Show() override; | 239 void Show(bool user_gesture) override; |
240 void ShowInactive() override; | 240 void ShowInactive() override; |
241 void Hide() override; | 241 void Hide() override; |
242 void SetBounds(const gfx::Rect& bounds) override; | 242 void SetBounds(const gfx::Rect& bounds) override; |
243 void Close() override; | 243 void Close() override; |
244 void Activate(bool user_gesture) override; | 244 void Activate(bool user_gesture) override; |
245 void Deactivate() override; | 245 void Deactivate() override; |
246 bool IsActive() const override; | 246 bool IsActive() const override; |
247 void FlashFrame(bool flash) override; | 247 void FlashFrame(bool flash) override; |
248 bool IsAlwaysOnTop() const override; | 248 bool IsAlwaysOnTop() const override; |
249 void SetAlwaysOnTop(bool always_on_top) override; | 249 void SetAlwaysOnTop(bool always_on_top) override; |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; | 699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; |
700 | 700 |
701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
702 | 702 |
703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
704 | 704 |
705 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 705 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
706 }; | 706 }; |
707 | 707 |
708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |