| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |