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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 views::View* GetContentsView() override; | 414 views::View* GetContentsView() override; |
415 views::ClientView* CreateClientView(views::Widget* widget) override; | 415 views::ClientView* CreateClientView(views::Widget* widget) override; |
416 void OnWindowBeginUserBoundsChange() override; | 416 void OnWindowBeginUserBoundsChange() override; |
417 void OnWidgetMove() override; | 417 void OnWidgetMove() override; |
418 views::Widget* GetWidget() override; | 418 views::Widget* GetWidget() override; |
419 const views::Widget* GetWidget() const override; | 419 const views::Widget* GetWidget() const override; |
420 void GetAccessiblePanes(std::vector<View*>* panes) override; | 420 void GetAccessiblePanes(std::vector<View*>* panes) override; |
421 | 421 |
422 // Overridden from views::WidgetObserver: | 422 // Overridden from views::WidgetObserver: |
423 void OnWidgetDestroying(views::Widget* widget) override; | 423 void OnWidgetDestroying(views::Widget* widget) override; |
| 424 void OnWidgetVisibilityChanged(views::Widget* widget, bool visible) override; |
424 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; | 425 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; |
425 | 426 |
426 // Overridden from views::ClientView: | 427 // Overridden from views::ClientView: |
427 bool CanClose() override; | 428 bool CanClose() override; |
428 int NonClientHitTest(const gfx::Point& point) override; | 429 int NonClientHitTest(const gfx::Point& point) override; |
429 gfx::Size GetMinimumSize() const override; | 430 gfx::Size GetMinimumSize() const override; |
430 | 431 |
431 // InfoBarContainerDelegate: | 432 // InfoBarContainerDelegate: |
432 SkColor GetInfoBarSeparatorColor() const override; | 433 SkColor GetInfoBarSeparatorColor() const override; |
433 void InfoBarContainerStateChanged(bool is_animating) override; | 434 void InfoBarContainerStateChanged(bool is_animating) override; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // The class that registers for keyboard shortcuts for extension commands. | 715 // The class that registers for keyboard shortcuts for extension commands. |
715 std::unique_ptr<ExtensionKeybindingRegistryViews> | 716 std::unique_ptr<ExtensionKeybindingRegistryViews> |
716 extension_keybinding_registry_; | 717 extension_keybinding_registry_; |
717 | 718 |
718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 719 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
719 | 720 |
720 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 721 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
721 }; | 722 }; |
722 | 723 |
723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 724 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |