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

Side by Side Diff: ash/drag_drop/drag_drop_controller.h

Issue 10831240: Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge-tot 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/display/mouse_cursor_event_filter.cc ('k') | ash/drag_drop/drag_drop_controller.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_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 5 #ifndef ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "ui/aura/client/drag_drop_client.h" 10 #include "ui/aura/client/drag_drop_client.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual bool IsDragDropInProgress() OVERRIDE; 58 virtual bool IsDragDropInProgress() OVERRIDE;
59 virtual gfx::NativeCursor GetDragCursor() OVERRIDE; 59 virtual gfx::NativeCursor GetDragCursor() OVERRIDE;
60 60
61 // Overridden from aura::EventFilter: 61 // Overridden from aura::EventFilter:
62 virtual bool PreHandleKeyEvent(aura::Window* target, 62 virtual bool PreHandleKeyEvent(aura::Window* target,
63 ui::KeyEvent* event) OVERRIDE; 63 ui::KeyEvent* event) OVERRIDE;
64 virtual bool PreHandleMouseEvent(aura::Window* target, 64 virtual bool PreHandleMouseEvent(aura::Window* target,
65 ui::MouseEvent* event) OVERRIDE; 65 ui::MouseEvent* event) OVERRIDE;
66 virtual ui::TouchStatus PreHandleTouchEvent( 66 virtual ui::TouchStatus PreHandleTouchEvent(
67 aura::Window* target, 67 aura::Window* target,
68 ui::TouchEventImpl* event) OVERRIDE; 68 ui::TouchEvent* event) OVERRIDE;
69 virtual ui::GestureStatus PreHandleGestureEvent( 69 virtual ui::GestureStatus PreHandleGestureEvent(
70 aura::Window* target, 70 aura::Window* target,
71 ui::GestureEventImpl* event) OVERRIDE; 71 ui::GestureEventImpl* event) OVERRIDE;
72 72
73 // Overridden from aura::WindowObserver. 73 // Overridden from aura::WindowObserver.
74 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 74 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
75 75
76 private: 76 private:
77 friend class ash::test::DragDropControllerTest; 77 friend class ash::test::DragDropControllerTest;
78 78
(...skipping 25 matching lines...) Expand all
104 // Closure for quitting nested message loop. 104 // Closure for quitting nested message loop.
105 base::Closure quit_closure_; 105 base::Closure quit_closure_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(DragDropController); 107 DISALLOW_COPY_AND_ASSIGN(DragDropController);
108 }; 108 };
109 109
110 } // namespace internal 110 } // namespace internal
111 } // namespace ash 111 } // namespace ash
112 112
113 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 113 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698