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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
404 views::View* GetContentsView() override; | 404 views::View* GetContentsView() override; |
405 views::ClientView* CreateClientView(views::Widget* widget) override; | 405 views::ClientView* CreateClientView(views::Widget* widget) override; |
406 void OnWindowBeginUserBoundsChange() override; | 406 void OnWindowBeginUserBoundsChange() override; |
407 void OnWidgetMove() override; | 407 void OnWidgetMove() override; |
408 views::Widget* GetWidget() override; | 408 views::Widget* GetWidget() override; |
409 const views::Widget* GetWidget() const override; | 409 const views::Widget* GetWidget() const override; |
410 void GetAccessiblePanes(std::vector<View*>* panes) override; | 410 void GetAccessiblePanes(std::vector<View*>* panes) override; |
411 | 411 |
412 // Overridden from views::WidgetObserver: | 412 // Overridden from views::WidgetObserver: |
413 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; | 413 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; |
414 void OnWidgetDestroying(views::Widget* widget) override; | |
tapted
2016/05/30 23:43:55
nit: declare before OnWidgetActivationChanged (to
kirr
2016/05/31 12:11:44
Done.
| |
414 | 415 |
415 // Overridden from views::ClientView: | 416 // Overridden from views::ClientView: |
416 bool CanClose() override; | 417 bool CanClose() override; |
417 int NonClientHitTest(const gfx::Point& point) override; | 418 int NonClientHitTest(const gfx::Point& point) override; |
418 gfx::Size GetMinimumSize() const override; | 419 gfx::Size GetMinimumSize() const override; |
419 | 420 |
420 // InfoBarContainerDelegate: | 421 // InfoBarContainerDelegate: |
421 SkColor GetInfoBarSeparatorColor() const override; | 422 SkColor GetInfoBarSeparatorColor() const override; |
422 void InfoBarContainerStateChanged(bool is_animating) override; | 423 void InfoBarContainerStateChanged(bool is_animating) override; |
423 bool DrawInfoBarArrows(int* x) const override; | 424 bool DrawInfoBarArrows(int* x) const override; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
691 // The class that registers for keyboard shortcuts for extension commands. | 692 // The class that registers for keyboard shortcuts for extension commands. |
692 std::unique_ptr<ExtensionKeybindingRegistryViews> | 693 std::unique_ptr<ExtensionKeybindingRegistryViews> |
693 extension_keybinding_registry_; | 694 extension_keybinding_registry_; |
694 | 695 |
695 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 696 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
696 | 697 |
697 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 698 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
698 }; | 699 }; |
699 | 700 |
700 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 701 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |