Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: chrome/browser/ui/panels/panel_frame_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_frame_view.cc ('k') | chrome/browser/ui/panels/panel_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698