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

Unified Diff: ash/system/tray/system_tray.cc

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
===================================================================
--- ash/system/tray/system_tray.cc (revision 151267)
+++ ash/system/tray/system_tray.cc (working copy)
@@ -464,8 +464,8 @@
} else {
int arrow_offset = TrayBubbleView::InitParams::kArrowDefaultOffset;
if (event.IsMouseEvent() || event.type() == ui::ET_GESTURE_TAP) {
- const views::LocatedEvent& located_event =
- static_cast<const views::LocatedEvent&>(event);
+ const ui::LocatedEvent& located_event =
+ static_cast<const ui::LocatedEvent&>(event);
if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM) {
gfx::Point point(located_event.x(), 0);
ConvertPointToWidget(this, &point);
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698