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

Side by Side Diff: ui/aura/root_window.h

Issue 10365009: Adding Gesture Recognition to RenderWidgetHostViewWin (web client) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge cleanup. (Implementing four new virtuals added in the base.) Created 8 years, 7 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
« no previous file with comments | « ui/aura/event.h ('k') | ui/aura/root_window.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_AURA_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // from root window hierachy, via SetVisible(false) or being destroyed. 285 // from root window hierachy, via SetVisible(false) or being destroyed.
286 // |destroyed| is set to true when the window is being destroyed. 286 // |destroyed| is set to true when the window is being destroyed.
287 void OnWindowHidden(Window* invisible, bool destroyed); 287 void OnWindowHidden(Window* invisible, bool destroyed);
288 288
289 // Overridden from Window: 289 // Overridden from Window:
290 virtual bool CanFocus() const OVERRIDE; 290 virtual bool CanFocus() const OVERRIDE;
291 virtual bool CanReceiveEvents() const OVERRIDE; 291 virtual bool CanReceiveEvents() const OVERRIDE;
292 virtual internal::FocusManager* GetFocusManager() OVERRIDE; 292 virtual internal::FocusManager* GetFocusManager() OVERRIDE;
293 293
294 // Overridden from ui::GestureEventHelper. 294 // Overridden from ui::GestureEventHelper.
295 virtual ui::GestureEvent* CreateGestureEvent(ui::EventType type, 295 virtual ui::GestureEvent* CreateGestureEvent(
296 ui::EventType type,
296 const gfx::Point& location, 297 const gfx::Point& location,
297 int flags, 298 int flags,
298 const base::Time time, 299 base::Time time,
299 float param_first, 300 float param_first,
300 float param_second, 301 float param_second,
301 unsigned int touch_id_bitfield) OVERRIDE; 302 unsigned int touch_id_bitfield) OVERRIDE;
302 303
303 virtual ui::TouchEvent* CreateTouchEvent(ui::EventType type, 304 virtual ui::TouchEvent* CreateTouchEvent(
304 const gfx::Point& location, 305 ui::EventType type,
305 int touch_id, 306 const gfx::Point& location,
306 base::TimeDelta time_stamp) OVERRIDE; 307 int touch_id,
308 base::TimeDelta time_stamp) OVERRIDE;
307 309
308 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; 310 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE;
309 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 311 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
310 312
311 // Overridden from ui::LayerAnimationObserver: 313 // Overridden from ui::LayerAnimationObserver:
312 virtual void OnLayerAnimationEnded( 314 virtual void OnLayerAnimationEnded(
313 ui::LayerAnimationSequence* animation) OVERRIDE; 315 ui::LayerAnimationSequence* animation) OVERRIDE;
314 virtual void OnLayerAnimationScheduled( 316 virtual void OnLayerAnimationScheduled(
315 ui::LayerAnimationSequence* animation) OVERRIDE; 317 ui::LayerAnimationSequence* animation) OVERRIDE;
316 virtual void OnLayerAnimationAborted( 318 virtual void OnLayerAnimationAborted(
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 bool draw_on_compositor_unlock_; 405 bool draw_on_compositor_unlock_;
404 406
405 int draw_trace_count_; 407 int draw_trace_count_;
406 408
407 DISALLOW_COPY_AND_ASSIGN(RootWindow); 409 DISALLOW_COPY_AND_ASSIGN(RootWindow);
408 }; 410 };
409 411
410 } // namespace aura 412 } // namespace aura
411 413
412 #endif // UI_AURA_ROOT_WINDOW_H_ 414 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/event.h ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698