| 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 <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "chrome/browser/devtools/devtools_window.h" | 19 #include "chrome/browser/devtools/devtools_window.h" |
| 20 #include "chrome/browser/extensions/extension_commands_global_registry.h" | 20 #include "chrome/browser/extensions/extension_commands_global_registry.h" |
| 21 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 21 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
| 22 #include "chrome/browser/ui/browser.h" | 22 #include "chrome/browser/ui/browser.h" |
| 23 #include "chrome/browser/ui/browser_window.h" | 23 #include "chrome/browser/ui/browser_window.h" |
| 24 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" | 24 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" |
| 25 #include "chrome/browser/ui/infobar_container_delegate.h" | 25 #include "chrome/browser/ui/infobar_container_delegate.h" |
| 26 #include "chrome/browser/ui/signin_view_controller.h" | |
| 27 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 26 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| 28 #include "chrome/browser/ui/views/exclusive_access_bubble_views_context.h" | 27 #include "chrome/browser/ui/views/exclusive_access_bubble_views_context.h" |
| 29 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views
.h" | 28 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views
.h" |
| 30 #include "chrome/browser/ui/views/frame/browser_frame.h" | 29 #include "chrome/browser/ui/views/frame/browser_frame.h" |
| 31 #include "chrome/browser/ui/views/frame/contents_web_view.h" | 30 #include "chrome/browser/ui/views/frame/contents_web_view.h" |
| 32 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 31 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
| 33 #include "chrome/browser/ui/views/frame/web_contents_close_handler.h" | 32 #include "chrome/browser/ui/views/frame/web_contents_close_handler.h" |
| 34 #include "chrome/browser/ui/views/load_complete_listener.h" | 33 #include "chrome/browser/ui/views/load_complete_listener.h" |
| 35 #include "chrome/browser/ui/views/tabs/tab.h" | 34 #include "chrome/browser/ui/views/tabs/tab.h" |
| 36 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" | 35 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 700 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 702 | 701 |
| 703 // If this flag is set then SetFocusToLocationBar() will set focus to the | 702 // If this flag is set then SetFocusToLocationBar() will set focus to the |
| 704 // location bar even if the browser window is not active. | 703 // location bar even if the browser window is not active. |
| 705 bool force_location_bar_focus_; | 704 bool force_location_bar_focus_; |
| 706 | 705 |
| 707 std::unique_ptr<ImmersiveModeController> immersive_mode_controller_; | 706 std::unique_ptr<ImmersiveModeController> immersive_mode_controller_; |
| 708 | 707 |
| 709 std::unique_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 708 std::unique_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
| 710 | 709 |
| 711 SigninViewController signin_view_controller_; | |
| 712 | |
| 713 // The class that registers for keyboard shortcuts for extension commands. | 710 // The class that registers for keyboard shortcuts for extension commands. |
| 714 std::unique_ptr<ExtensionKeybindingRegistryViews> | 711 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 715 extension_keybinding_registry_; | 712 extension_keybinding_registry_; |
| 716 | 713 |
| 717 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 714 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 718 | 715 |
| 719 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 716 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 720 }; | 717 }; |
| 721 | 718 |
| 722 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |