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

Side by Side Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.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_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_
7 7
8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
9 #include "ui/base/animation/animation_delegate.h" 9 #include "ui/base/animation/animation_delegate.h"
10 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
(...skipping 29 matching lines...) Expand all
40 virtual void UpdateWindowIcon() OVERRIDE; 40 virtual void UpdateWindowIcon() OVERRIDE;
41 41
42 // BrowserNonClientFrameView: 42 // BrowserNonClientFrameView:
43 virtual gfx::Rect GetBoundsForTabStrip( 43 virtual gfx::Rect GetBoundsForTabStrip(
44 views::View* tabstrip) const OVERRIDE; 44 views::View* tabstrip) const OVERRIDE;
45 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; 45 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE;
46 virtual int GetThemeBackgroundXInset() const OVERRIDE; 46 virtual int GetThemeBackgroundXInset() const OVERRIDE;
47 virtual void UpdateThrobber(bool running) OVERRIDE; 47 virtual void UpdateThrobber(bool running) OVERRIDE;
48 48
49 // View: 49 // View:
50 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; 50 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
51 51
52 // views::MouseWatcherListener. 52 // views::MouseWatcherListener.
53 virtual void MouseMovedOutOfHost() OVERRIDE; 53 virtual void MouseMovedOutOfHost() OVERRIDE;
54 54
55 // views::WidgetObserver. 55 // views::WidgetObserver.
56 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; 56 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
57 57
58 // Close the app window. 58 // Close the app window.
59 void Close(); 59 void Close();
60 60
(...skipping 19 matching lines...) Expand all
80 views::Widget* control_widget_; 80 views::Widget* control_widget_;
81 // Tracks the mouse and causes the controls to slide back up when it exits. 81 // Tracks the mouse and causes the controls to slide back up when it exits.
82 views::MouseWatcher mouse_watcher_; 82 views::MouseWatcher mouse_watcher_;
83 // Should controls be animated. 83 // Should controls be animated.
84 bool animate_controls_; 84 bool animate_controls_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); 86 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura);
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ 89 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698