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_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_FRAME_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/tab_icon_view_model.h" | 8 #include "chrome/browser/ui/views/tab_icon_view_model.h" |
9 #include "ui/views/controls/button/button.h" | 9 #include "ui/views/controls/button/button.h" |
10 #include "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void UpdateWindowIcon() OVERRIDE; | 61 virtual void UpdateWindowIcon() OVERRIDE; |
62 | 62 |
63 // Overridden from views::View: | 63 // Overridden from views::View: |
64 virtual gfx::Size GetPreferredSize() OVERRIDE; | 64 virtual gfx::Size GetPreferredSize() OVERRIDE; |
65 virtual std::string GetClassName() const OVERRIDE; | 65 virtual std::string GetClassName() const OVERRIDE; |
66 virtual gfx::Size GetMinimumSize() OVERRIDE; | 66 virtual gfx::Size GetMinimumSize() OVERRIDE; |
67 virtual gfx::Size GetMaximumSize() OVERRIDE; | 67 virtual gfx::Size GetMaximumSize() OVERRIDE; |
68 virtual ui::ThemeProvider* GetThemeProvider() const OVERRIDE; | 68 virtual ui::ThemeProvider* GetThemeProvider() const OVERRIDE; |
69 virtual void Layout() OVERRIDE; | 69 virtual void Layout() OVERRIDE; |
70 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 70 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
71 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; | 71 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
72 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; | 72 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |
73 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; | 73 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
74 virtual void OnMouseCaptureLost() OVERRIDE; | 74 virtual void OnMouseCaptureLost() OVERRIDE; |
75 | 75 |
76 // Overridden from views::ButtonListener: | 76 // Overridden from views::ButtonListener: |
77 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) | 77 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) |
78 OVERRIDE; | 78 OVERRIDE; |
79 | 79 |
80 // Overridden from chrome::TabIconViewModel: | 80 // Overridden from chrome::TabIconViewModel: |
81 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; | 81 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; |
82 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; | 82 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; |
83 | 83 |
(...skipping 24 matching lines...) Expand all Loading... |
108 views::ImageButton* close_button_; | 108 views::ImageButton* close_button_; |
109 views::ImageButton* minimize_button_; | 109 views::ImageButton* minimize_button_; |
110 views::ImageButton* restore_button_; | 110 views::ImageButton* restore_button_; |
111 TabIconView* title_icon_; | 111 TabIconView* title_icon_; |
112 views::Label* title_label_; | 112 views::Label* title_label_; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); | 114 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); |
115 }; | 115 }; |
116 | 116 |
117 #endif // CHROME_BROWSER_UI_PANELS_PANEL_FRAME_VIEW_H_ | 117 #endif // CHROME_BROWSER_UI_PANELS_PANEL_FRAME_VIEW_H_ |
OLD | NEW |