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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |