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

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

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a flag to disable the touch exploration mode. Created 6 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/window_tree_host_win.cc ('k') | ui/aura/window_tree_host_x11.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_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_
6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window_tree_host.h" 10 #include "ui/aura/window_tree_host.h"
(...skipping 24 matching lines...) Expand all
35 35
36 public: 36 public:
37 explicit WindowTreeHostX11(const gfx::Rect& bounds); 37 explicit WindowTreeHostX11(const gfx::Rect& bounds);
38 virtual ~WindowTreeHostX11(); 38 virtual ~WindowTreeHostX11();
39 39
40 // ui::PlatformEventDispatcher: 40 // ui::PlatformEventDispatcher:
41 virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE; 41 virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
42 virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE; 42 virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
43 43
44 // WindowTreeHost: 44 // WindowTreeHost:
45 virtual ui::EventSource* GetEventSource() OVERRIDE;
45 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 46 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
46 virtual void Show() OVERRIDE; 47 virtual void Show() OVERRIDE;
47 virtual void Hide() OVERRIDE; 48 virtual void Hide() OVERRIDE;
48 virtual gfx::Rect GetBounds() const OVERRIDE; 49 virtual gfx::Rect GetBounds() const OVERRIDE;
49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
50 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 51 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
51 virtual void SetCapture() OVERRIDE; 52 virtual void SetCapture() OVERRIDE;
52 virtual void ReleaseCapture() OVERRIDE; 53 virtual void ReleaseCapture() OVERRIDE;
53 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 54 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
54 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; 55 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 namespace test { 113 namespace test {
113 114
114 // Set the default value of the override redirect flag used to 115 // Set the default value of the override redirect flag used to
115 // create a X window for WindowTreeHostX11. 116 // create a X window for WindowTreeHostX11.
116 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 117 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
117 118
118 } // namespace test 119 } // namespace test
119 } // namespace aura 120 } // namespace aura
120 121
121 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ 122 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698