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

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

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 (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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 int32 selection_start, 212 int32 selection_start,
213 int32 selection_end, 213 int32 selection_end,
214 const std::vector<metro_viewer::UnderlineInfo>& underlines); 214 const std::vector<metro_viewer::UnderlineInfo>& underlines);
215 void OnImeTextCommitted(const base::string16& text); 215 void OnImeTextCommitted(const base::string16& text);
216 void OnImeInputSourceChanged(uint16 language_id, bool is_ime); 216 void OnImeInputSourceChanged(uint16 language_id, bool is_ime);
217 217
218 // WindowTreeHost overrides: 218 // WindowTreeHost overrides:
219 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 219 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
220 virtual void Show() OVERRIDE; 220 virtual void Show() OVERRIDE;
221 virtual void Hide() OVERRIDE; 221 virtual void Hide() OVERRIDE;
222 virtual void ToggleFullScreen() OVERRIDE;
223 virtual gfx::Rect GetBounds() const OVERRIDE; 222 virtual gfx::Rect GetBounds() const OVERRIDE;
224 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 223 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
225 virtual gfx::Insets GetInsets() const OVERRIDE;
226 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
227 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 224 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
228 virtual void SetCapture() OVERRIDE; 225 virtual void SetCapture() OVERRIDE;
229 virtual void ReleaseCapture() OVERRIDE; 226 virtual void ReleaseCapture() OVERRIDE;
230 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 227 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
231 virtual bool ConfineCursorToRootWindow() OVERRIDE;
232 virtual void UnConfineCursor() OVERRIDE;
233 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 228 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
234 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 229 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
235 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 230 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
236 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 231 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
237 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 232 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
238 233
239 // ui::EventSource: 234 // ui::EventSource:
240 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 235 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
241 236
242 // ui::internal::RemoteInputMethodDelegateWin overrides: 237 // ui::internal::RemoteInputMethodDelegateWin overrides:
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 293
299 // Current size of this root window. 294 // Current size of this root window.
300 gfx::Size window_size_; 295 gfx::Size window_size_;
301 296
302 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin); 297 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin);
303 }; 298 };
304 299
305 } // namespace aura 300 } // namespace aura
306 301
307 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 302 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698