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_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual void ResetWindowControls() OVERRIDE; | 66 virtual void ResetWindowControls() OVERRIDE; |
67 virtual void UpdateWindowIcon() OVERRIDE; | 67 virtual void UpdateWindowIcon() OVERRIDE; |
68 | 68 |
69 // Overridden from views::View: | 69 // Overridden from views::View: |
70 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 70 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
71 virtual void OnThemeChanged() OVERRIDE; | 71 virtual void OnThemeChanged() OVERRIDE; |
72 virtual gfx::Size GetMinimumSize() OVERRIDE; | 72 virtual gfx::Size GetMinimumSize() OVERRIDE; |
73 virtual gfx::Size GetMaximumSize() OVERRIDE; | 73 virtual gfx::Size GetMaximumSize() OVERRIDE; |
74 virtual void Layout() OVERRIDE; | 74 virtual void Layout() OVERRIDE; |
75 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 75 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
76 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; | 76 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
77 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; | 77 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |
78 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; | 78 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
79 virtual void OnMouseCaptureLost() OVERRIDE; | 79 virtual void OnMouseCaptureLost() OVERRIDE; |
80 | 80 |
81 // Overridden from views::ButtonListener: | 81 // Overridden from views::ButtonListener: |
82 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) | 82 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) |
83 OVERRIDE; | 83 OVERRIDE; |
84 | 84 |
85 // Overridden from chrome::TabIconViewModel: | 85 // Overridden from chrome::TabIconViewModel: |
86 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; | 86 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; |
87 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; | 87 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; |
88 | 88 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 views::ImageButton* minimize_button_; | 138 views::ImageButton* minimize_button_; |
139 views::ImageButton* restore_button_; | 139 views::ImageButton* restore_button_; |
140 TabIconView* title_icon_; | 140 TabIconView* title_icon_; |
141 views::Label* title_label_; | 141 views::Label* title_label_; |
142 gfx::Rect client_view_bounds_; | 142 gfx::Rect client_view_bounds_; |
143 | 143 |
144 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); | 144 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); |
145 }; | 145 }; |
146 | 146 |
147 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 147 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |