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