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

Side by Side Diff: ui/views/widget/desktop_native_widget_aura.h

Issue 10964051: events: Clean up dispatching code for touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 | « ui/ui.gyp ('k') | ui/views/widget/desktop_native_widget_aura.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 UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "ui/aura/window_delegate.h" 8 #include "ui/aura/window_delegate.h"
9 #include "ui/views/widget/native_widget_private.h" 9 #include "ui/views/widget/native_widget_private.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void OnWindowDestroying() OVERRIDE; 124 virtual void OnWindowDestroying() OVERRIDE;
125 virtual void OnWindowDestroyed() OVERRIDE; 125 virtual void OnWindowDestroyed() OVERRIDE;
126 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 126 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
127 virtual bool HasHitTestMask() const OVERRIDE; 127 virtual bool HasHitTestMask() const OVERRIDE;
128 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 128 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
129 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 129 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
130 130
131 // Overridden from ui::EventHandler: 131 // Overridden from ui::EventHandler:
132 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 132 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
133 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 133 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
134 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 134 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
135 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 135 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
136 136
137 private: 137 private:
138 // Ownership passed to RootWindow on Init. 138 // Ownership passed to RootWindow on Init.
139 DesktopRootWindowHost* desktop_root_window_host_; 139 DesktopRootWindowHost* desktop_root_window_host_;
140 aura::Window* window_; 140 aura::Window* window_;
141 Widget::InitParams::Ownership ownership_; 141 Widget::InitParams::Ownership ownership_;
142 internal::NativeWidgetDelegate* native_widget_delegate_; 142 internal::NativeWidgetDelegate* native_widget_delegate_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 144 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
145 }; 145 };
146 146
147 } // namespace views 147 } // namespace views
148 148
149 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ 149 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/ui.gyp ('k') | ui/views/widget/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698