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

Side by Side Diff: content/browser/renderer_host/input/synthetic_gesture_target_aura.h

Issue 147203004: aura: Remove event-dispatch methods from WindowTreeHostDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
10 #include "content/common/input/synthetic_gesture_params.h" 10 #include "content/common/input/synthetic_gesture_params.h"
11 11
12 namespace aura { 12 namespace aura {
13 class WindowTreeHostDelegate; 13 class RootWindow;
14 typedef RootWindow WindowEventDispatcher;
14 class Window; 15 class Window;
15 16
16 namespace client { 17 namespace client {
17 class ScreenPositionClient; 18 class ScreenPositionClient;
18 } 19 }
19 } // namespace aura 20 } // namespace aura
20 21
21 namespace content { 22 namespace content {
22 23
23 // SyntheticGestureTarget implementation for aura 24 // SyntheticGestureTarget implementation for aura
(...skipping 16 matching lines...) Expand all
40 virtual SyntheticGestureParams::GestureSourceType 41 virtual SyntheticGestureParams::GestureSourceType
41 GetDefaultSyntheticGestureSourceType() const OVERRIDE; 42 GetDefaultSyntheticGestureSourceType() const OVERRIDE;
42 virtual bool SupportsSyntheticGestureSourceType( 43 virtual bool SupportsSyntheticGestureSourceType(
43 SyntheticGestureParams::GestureSourceType gesture_source_type) const 44 SyntheticGestureParams::GestureSourceType gesture_source_type) const
44 OVERRIDE; 45 OVERRIDE;
45 46
46 virtual int GetTouchSlopInDips() const OVERRIDE; 47 virtual int GetTouchSlopInDips() const OVERRIDE;
47 48
48 private: 49 private:
49 aura::Window* GetWindow() const; 50 aura::Window* GetWindow() const;
50 aura::WindowTreeHostDelegate* GetWindowTreeHostDelegate() const; 51 aura::WindowEventDispatcher* GetWindowEventDispatcher() const;
51 aura::client::ScreenPositionClient* GetScreenPositionClient() const; 52 aura::client::ScreenPositionClient* GetScreenPositionClient() const;
52 53
53 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); 54 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura);
54 }; 55 };
55 56
56 } // namespace content 57 } // namespace content
57 58
58 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 59 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698