| 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> |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 views::View* contents_container_; | 650 views::View* contents_container_; |
| 651 | 651 |
| 652 // Tracks and stores the last focused view which is not the | 652 // Tracks and stores the last focused view which is not the |
| 653 // devtools_web_view_ or any of its children. Used to restore focus once | 653 // devtools_web_view_ or any of its children. Used to restore focus once |
| 654 // the devtools_web_view_ is hidden. | 654 // the devtools_web_view_ is hidden. |
| 655 std::unique_ptr<views::ExternalFocusTracker> devtools_focus_tracker_; | 655 std::unique_ptr<views::ExternalFocusTracker> devtools_focus_tracker_; |
| 656 | 656 |
| 657 // The Status information bubble that appears at the bottom of the window. | 657 // The Status information bubble that appears at the bottom of the window. |
| 658 std::unique_ptr<StatusBubbleViews> status_bubble_; | 658 std::unique_ptr<StatusBubbleViews> status_bubble_; |
| 659 | 659 |
| 660 // A mapping between accelerators and commands. | 660 // A mapping between accelerators and command IDs. |
| 661 std::map<ui::Accelerator, int> accelerator_table_; | 661 std::map<ui::Accelerator, int> accelerator_table_; |
| 662 | 662 |
| 663 // True if we have already been initialized. | 663 // True if we have already been initialized. |
| 664 bool initialized_; | 664 bool initialized_; |
| 665 | 665 |
| 666 // True if we're currently handling a theme change (i.e. inside | 666 // True if we're currently handling a theme change (i.e. inside |
| 667 // OnThemeChanged()). | 667 // OnThemeChanged()). |
| 668 bool handling_theme_changed_; | 668 bool handling_theme_changed_; |
| 669 | 669 |
| 670 // True when in ProcessFullscreen(). The flag is used to avoid reentrance and | 670 // True when in ProcessFullscreen(). The flag is used to avoid reentrance and |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 // The class that registers for keyboard shortcuts for extension commands. | 703 // The class that registers for keyboard shortcuts for extension commands. |
| 704 std::unique_ptr<ExtensionKeybindingRegistryViews> | 704 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 705 extension_keybinding_registry_; | 705 extension_keybinding_registry_; |
| 706 | 706 |
| 707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 708 | 708 |
| 709 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 709 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 710 }; | 710 }; |
| 711 | 711 |
| 712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |