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

Side by Side Diff: ash/wm/toplevel_window_event_filter.h

Issue 10828133: Desktop Aura: Allow tab drags out of window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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/multi_display_manager_unittest.cc ('k') | ash/wm/toplevel_window_event_filter.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_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_ 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_
6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_ 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual bool PreHandleMouseEvent(aura::Window* target, 47 virtual bool PreHandleMouseEvent(aura::Window* target,
48 ui::MouseEvent* event) OVERRIDE; 48 ui::MouseEvent* event) OVERRIDE;
49 virtual ui::TouchStatus PreHandleTouchEvent( 49 virtual ui::TouchStatus PreHandleTouchEvent(
50 aura::Window* target, 50 aura::Window* target,
51 ui::TouchEvent* event) OVERRIDE; 51 ui::TouchEvent* event) OVERRIDE;
52 virtual ui::GestureStatus PreHandleGestureEvent( 52 virtual ui::GestureStatus PreHandleGestureEvent(
53 aura::Window* target, 53 aura::Window* target,
54 ui::GestureEvent* event) OVERRIDE; 54 ui::GestureEvent* event) OVERRIDE;
55 55
56 // Overridden form aura::client::WindowMoveClient: 56 // Overridden form aura::client::WindowMoveClient:
57 virtual void RunMoveLoop(aura::Window* source) OVERRIDE; 57 virtual void RunMoveLoop(aura::Window* source,
58 const gfx::Point& drag_offset) OVERRIDE;
58 virtual void EndMoveLoop() OVERRIDE; 59 virtual void EndMoveLoop() OVERRIDE;
59 60
60 protected: 61 protected:
61 // Creates a new WindowResizer. 62 // Creates a new WindowResizer.
62 virtual WindowResizer* CreateWindowResizer(aura::Window* window, 63 virtual WindowResizer* CreateWindowResizer(aura::Window* window,
63 const gfx::Point& point_in_parent, 64 const gfx::Point& point_in_parent,
64 int window_component); 65 int window_component);
65 66
66 private: 67 private:
67 enum DragCompletionStatus { 68 enum DragCompletionStatus {
(...skipping 28 matching lines...) Expand all
96 scoped_ptr<WindowResizer> window_resizer_; 97 scoped_ptr<WindowResizer> window_resizer_;
97 98
98 base::Closure quit_closure_; 99 base::Closure quit_closure_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventFilter); 101 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventFilter);
101 }; 102 };
102 103
103 } // namespace aura 104 } // namespace aura
104 105
105 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_ 106 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ash/display/multi_display_manager_unittest.cc ('k') | ash/wm/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698