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

Side by Side Diff: ash/system/tray/tray_background_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
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
6 #define ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/launcher/background_animator.h" 9 #include "ash/launcher/background_animator.h"
10 #include "ash/system/tray/tray_views.h" 10 #include "ash/system/tray/tray_views.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ShelfAlignment alignment_; 52 ShelfAlignment alignment_;
53 gfx::Size size_; 53 gfx::Size size_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(TrayContainer); 55 DISALLOW_COPY_AND_ASSIGN(TrayContainer);
56 }; 56 };
57 57
58 explicit TrayBackgroundView(internal::StatusAreaWidget* status_area_widget); 58 explicit TrayBackgroundView(internal::StatusAreaWidget* status_area_widget);
59 virtual ~TrayBackgroundView(); 59 virtual ~TrayBackgroundView();
60 60
61 // Overridden from views::View. 61 // Overridden from views::View.
62 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; 62 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
63 virtual void OnMouseExited(const views::MouseEvent& event) OVERRIDE; 63 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
64 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE; 64 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
65 65
66 // Overridden from internal::ActionableView. 66 // Overridden from internal::ActionableView.
67 virtual bool PerformAction(const ui::Event& event) OVERRIDE; 67 virtual bool PerformAction(const ui::Event& event) OVERRIDE;
68 68
69 // Overridden from internal::BackgroundAnimatorDelegate. 69 // Overridden from internal::BackgroundAnimatorDelegate.
70 virtual void UpdateBackground(int alpha) OVERRIDE; 70 virtual void UpdateBackground(int alpha) OVERRIDE;
71 71
72 // Called whenever the shelf alignment changes. 72 // Called whenever the shelf alignment changes.
73 virtual void SetShelfAlignment(ShelfAlignment alignment); 73 virtual void SetShelfAlignment(ShelfAlignment alignment);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 internal::BackgroundAnimator hide_background_animator_; 107 internal::BackgroundAnimator hide_background_animator_;
108 internal::BackgroundAnimator hover_background_animator_; 108 internal::BackgroundAnimator hover_background_animator_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView); 110 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView);
111 }; 111 };
112 112
113 } // namespace internal 113 } // namespace internal
114 } // namespace ash 114 } // namespace ash
115 115
116 #endif // ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 116 #endif // ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698