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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 virtual gfx::Size GetMinimumSize() OVERRIDE; | 403 virtual gfx::Size GetMinimumSize() OVERRIDE; |
404 | 404 |
405 // InfoBarContainer::Delegate overrides | 405 // InfoBarContainer::Delegate overrides |
406 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; | 406 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; |
407 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 407 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
408 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 408 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
409 | 409 |
410 // views::SingleSplitViewListener overrides: | 410 // views::SingleSplitViewListener overrides: |
411 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE; | 411 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE; |
412 | 412 |
413 // gfx::ScopedSysColorChangeListener overrides: | 413 // gfx::SysColorChangeListener overrides: |
414 virtual void OnSysColorChange() OVERRIDE; | 414 virtual void OnSysColorChange() OVERRIDE; |
415 | 415 |
416 // Returns the resource ID to use for the OTR icon, which depends on | 416 // Returns the resource ID to use for the OTR icon, which depends on |
417 // which layout is being shown and whether we are full-screen. | 417 // which layout is being shown and whether we are full-screen. |
418 int GetOTRIconResourceID() const; | 418 int GetOTRIconResourceID() const; |
419 | 419 |
420 // Overridden from views::View: | 420 // Overridden from views::View: |
421 virtual std::string GetClassName() const OVERRIDE; | 421 virtual std::string GetClassName() const OVERRIDE; |
422 virtual void Layout() OVERRIDE; | 422 virtual void Layout() OVERRIDE; |
423 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 423 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 gfx::ScopedSysColorChangeListener color_change_listener_; | 721 gfx::ScopedSysColorChangeListener color_change_listener_; |
722 | 722 |
723 scoped_ptr<InstantPreviewControllerViews> preview_controller_; | 723 scoped_ptr<InstantPreviewControllerViews> preview_controller_; |
724 | 724 |
725 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 725 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
726 | 726 |
727 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 727 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
728 }; | 728 }; |
729 | 729 |
730 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 730 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |