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

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

Issue 22865036: Add support for reposting the ET_GESTURE_TAP_DOWN gesture event to the RootWindow and in the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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 | « no previous file | ui/aura/root_window.cc » ('j') | ui/aura/root_window.cc » ('J')
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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Posts a task to send synthesized mouse move event if there 391 // Posts a task to send synthesized mouse move event if there
392 // is no a pending task. 392 // is no a pending task.
393 void PostMouseMoveEventAfterWindowChange(); 393 void PostMouseMoveEventAfterWindowChange();
394 394
395 // Creates and dispatches synthesized mouse move event using the 395 // Creates and dispatches synthesized mouse move event using the
396 // current mouse location. 396 // current mouse location.
397 void SynthesizeMouseMoveEvent(); 397 void SynthesizeMouseMoveEvent();
398 398
399 gfx::Transform GetInverseRootTransform() const; 399 gfx::Transform GetInverseRootTransform() const;
400 400
401 // Reposts the gesture event to the Window which is a target for the event
402 // passed in.
403 bool DispatchGestureEventRepost(ui::GestureEvent* event);
404
401 scoped_ptr<ui::Compositor> compositor_; 405 scoped_ptr<ui::Compositor> compositor_;
402 406
403 scoped_ptr<RootWindowHost> host_; 407 scoped_ptr<RootWindowHost> host_;
404 408
405 // Used to schedule painting. 409 // Used to schedule painting.
406 base::WeakPtrFactory<RootWindow> schedule_paint_factory_; 410 base::WeakPtrFactory<RootWindow> schedule_paint_factory_;
407 411
408 // Use to post mouse move event. 412 // Use to post mouse move event.
409 base::WeakPtrFactory<RootWindow> event_factory_; 413 base::WeakPtrFactory<RootWindow> event_factory_;
410 414
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 scoped_ptr<ui::ViewProp> prop_; 448 scoped_ptr<ui::ViewProp> prop_;
445 449
446 scoped_ptr<RootWindowTransformer> transformer_; 450 scoped_ptr<RootWindowTransformer> transformer_;
447 451
448 DISALLOW_COPY_AND_ASSIGN(RootWindow); 452 DISALLOW_COPY_AND_ASSIGN(RootWindow);
449 }; 453 };
450 454
451 } // namespace aura 455 } // namespace aura
452 456
453 #endif // UI_AURA_ROOT_WINDOW_H_ 457 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/root_window.cc » ('j') | ui/aura/root_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698