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

Side by Side Diff: ui/aura/remote_window_tree_host_win.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
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_REMOTE_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void OnImeCandidatePopupChanged(bool visible); 215 void OnImeCandidatePopupChanged(bool visible);
216 void OnImeCompositionChanged( 216 void OnImeCompositionChanged(
217 const base::string16& text, 217 const base::string16& text,
218 int32 selection_start, 218 int32 selection_start,
219 int32 selection_end, 219 int32 selection_end,
220 const std::vector<metro_viewer::UnderlineInfo>& underlines); 220 const std::vector<metro_viewer::UnderlineInfo>& underlines);
221 void OnImeTextCommitted(const base::string16& text); 221 void OnImeTextCommitted(const base::string16& text);
222 void OnImeInputSourceChanged(uint16 language_id, bool is_ime); 222 void OnImeInputSourceChanged(uint16 language_id, bool is_ime);
223 223
224 // WindowTreeHost overrides: 224 // WindowTreeHost overrides:
225 virtual ui::EventSource* GetEventSource() OVERRIDE;
225 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 226 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
226 virtual void Show() OVERRIDE; 227 virtual void Show() OVERRIDE;
227 virtual void Hide() OVERRIDE; 228 virtual void Hide() OVERRIDE;
228 virtual gfx::Rect GetBounds() const OVERRIDE; 229 virtual gfx::Rect GetBounds() const OVERRIDE;
229 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 230 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
230 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 231 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
231 virtual void SetCapture() OVERRIDE; 232 virtual void SetCapture() OVERRIDE;
232 virtual void ReleaseCapture() OVERRIDE; 233 virtual void ReleaseCapture() OVERRIDE;
233 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 234 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
234 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 235 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 300
300 // Current size of this root window. 301 // Current size of this root window.
301 gfx::Size window_size_; 302 gfx::Size window_size_;
302 303
303 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin); 304 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin);
304 }; 305 };
305 306
306 } // namespace aura 307 } // namespace aura
307 308
308 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 309 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « mojo/examples/aura_demo/window_tree_host_mojo.cc ('k') | ui/aura/remote_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698