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

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

Issue 10827145: Convert Aura to use ui::Event. (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/system/tray/tray_bubble_view.h ('k') | ash/test/test_activation_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_bubble_view.cc
===================================================================
--- ash/system/tray/tray_bubble_view.cc (revision 150582)
+++ ash/system/tray/tray_bubble_view.cc (working copy)
@@ -15,9 +15,9 @@
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/effects/SkBlurImageFilter.h"
-#include "ui/aura/event.h"
#include "ui/aura/window.h"
#include "ui/base/accessibility/accessible_view_state.h"
+#include "ui/base/event.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/insets.h"
@@ -456,12 +456,12 @@
}
bool TrayBubbleView::Host::PreHandleKeyEvent(aura::Window* target,
- aura::KeyEvent* event) {
+ ui::KeyEvent* event) {
return false;
}
bool TrayBubbleView::Host::PreHandleMouseEvent(aura::Window* target,
- aura::MouseEvent* event) {
+ ui::MouseEvent* event) {
if (event->type() == ui::ET_MOUSE_PRESSED)
ProcessLocatedEvent(*event);
return false;
@@ -469,7 +469,7 @@
ui::TouchStatus TrayBubbleView::Host::PreHandleTouchEvent(
aura::Window* target,
- aura::TouchEvent* event) {
+ ui::TouchEventImpl* event) {
if (event->type() == ui::ET_TOUCH_PRESSED)
ProcessLocatedEvent(*event);
return ui::TOUCH_STATUS_UNKNOWN;
@@ -477,12 +477,12 @@
ui::GestureStatus TrayBubbleView::Host::PreHandleGestureEvent(
aura::Window* target,
- aura::GestureEvent* event) {
+ ui::GestureEventImpl* event) {
return ui::GESTURE_STATUS_UNKNOWN;
}
void TrayBubbleView::Host::ProcessLocatedEvent(
- const aura::LocatedEvent& event) {
+ const ui::LocatedEvent& event) {
if (!widget_)
return;
gfx::Rect bounds = widget_->GetNativeWindow()->GetBoundsInRootWindow();
« no previous file with comments | « ash/system/tray/tray_bubble_view.h ('k') | ash/test/test_activation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698