| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" | 43 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" |
| 44 #include "ui/views/widget/widget_delegate.h" | 44 #include "ui/views/widget/widget_delegate.h" |
| 45 #include "ui/views/widget/widget_observer.h" | 45 #include "ui/views/widget/widget_observer.h" |
| 46 #include "ui/views/window/client_view.h" | 46 #include "ui/views/window/client_view.h" |
| 47 | 47 |
| 48 // NOTE: For more information about the objects and files in this directory, | 48 // NOTE: For more information about the objects and files in this directory, |
| 49 // view: http://dev.chromium.org/developers/design-documents/browser-window | 49 // view: http://dev.chromium.org/developers/design-documents/browser-window |
| 50 | 50 |
| 51 class BookmarkBarView; | 51 class BookmarkBarView; |
| 52 class Browser; | 52 class Browser; |
| 53 class BrowserViewHistogramHelper; |
| 53 class BrowserViewLayout; | 54 class BrowserViewLayout; |
| 54 class ContentsLayoutManager; | 55 class ContentsLayoutManager; |
| 55 class DownloadShelfView; | 56 class DownloadShelfView; |
| 56 class ExclusiveAccessBubbleViews; | 57 class ExclusiveAccessBubbleViews; |
| 57 class InfoBarContainerView; | 58 class InfoBarContainerView; |
| 58 class LocationBarView; | 59 class LocationBarView; |
| 59 class NewBackShortcutBubble; | 60 class NewBackShortcutBubble; |
| 60 class StatusBubbleViews; | 61 class StatusBubbleViews; |
| 61 class TabStrip; | 62 class TabStrip; |
| 62 class ToolbarView; | 63 class ToolbarView; |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 SkColor GetInfoBarSeparatorColor() const override; | 433 SkColor GetInfoBarSeparatorColor() const override; |
| 433 void InfoBarContainerStateChanged(bool is_animating) override; | 434 void InfoBarContainerStateChanged(bool is_animating) override; |
| 434 bool DrawInfoBarArrows(int* x) const override; | 435 bool DrawInfoBarArrows(int* x) const override; |
| 435 | 436 |
| 436 // Overridden from views::View: | 437 // Overridden from views::View: |
| 437 const char* GetClassName() const override; | 438 const char* GetClassName() const override; |
| 438 void Layout() override; | 439 void Layout() override; |
| 439 void OnGestureEvent(ui::GestureEvent* event) override; | 440 void OnGestureEvent(ui::GestureEvent* event) override; |
| 440 void ViewHierarchyChanged( | 441 void ViewHierarchyChanged( |
| 441 const ViewHierarchyChangedDetails& details) override; | 442 const ViewHierarchyChangedDetails& details) override; |
| 443 void PaintChildren(const ui::PaintContext& context) override; |
| 442 void ChildPreferredSizeChanged(View* child) override; | 444 void ChildPreferredSizeChanged(View* child) override; |
| 443 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | 445 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 444 void OnThemeChanged() override; | 446 void OnThemeChanged() override; |
| 445 | 447 |
| 446 // Overridden from ui::AcceleratorTarget: | 448 // Overridden from ui::AcceleratorTarget: |
| 447 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 449 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 448 | 450 |
| 449 // OmniboxPopupModelObserver overrides | 451 // OmniboxPopupModelObserver overrides |
| 450 void OnOmniboxPopupShownOrHidden() override; | 452 void OnOmniboxPopupShownOrHidden() override; |
| 451 | 453 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 std::unique_ptr<ImmersiveModeController> immersive_mode_controller_; | 710 std::unique_ptr<ImmersiveModeController> immersive_mode_controller_; |
| 709 | 711 |
| 710 std::unique_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 712 std::unique_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
| 711 | 713 |
| 712 SigninViewController signin_view_controller_; | 714 SigninViewController signin_view_controller_; |
| 713 | 715 |
| 714 // The class that registers for keyboard shortcuts for extension commands. | 716 // The class that registers for keyboard shortcuts for extension commands. |
| 715 std::unique_ptr<ExtensionKeybindingRegistryViews> | 717 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 716 extension_keybinding_registry_; | 718 extension_keybinding_registry_; |
| 717 | 719 |
| 720 std::unique_ptr<BrowserViewHistogramHelper> histogram_helper_; |
| 721 |
| 718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 722 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 719 | 723 |
| 720 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 724 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 721 }; | 725 }; |
| 722 | 726 |
| 723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 727 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |