| 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_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 void OnFileOpenDone(bool success, const base::FilePath& filename); | 189 void OnFileOpenDone(bool success, const base::FilePath& filename); |
| 190 void OnMultiFileOpenDone(bool success, | 190 void OnMultiFileOpenDone(bool success, |
| 191 const std::vector<base::FilePath>& files); | 191 const std::vector<base::FilePath>& files); |
| 192 void OnSelectFolderDone(bool success, const base::FilePath& folder); | 192 void OnSelectFolderDone(bool success, const base::FilePath& folder); |
| 193 void OnSetCursorPosAck(); | 193 void OnSetCursorPosAck(); |
| 194 | 194 |
| 195 // For Input Method support: | 195 // For Input Method support: |
| 196 ui::RemoteInputMethodPrivateWin* GetRemoteInputMethodPrivate(); | 196 ui::RemoteInputMethodPrivateWin* GetRemoteInputMethodPrivate(); |
| 197 void OnImeCandidatePopupChanged(bool visible); | 197 void OnImeCandidatePopupChanged(bool visible); |
| 198 void OnImeCompositionChanged( | 198 void OnImeCompositionChanged( |
| 199 const string16& text, | 199 const base::string16& text, |
| 200 int32 selection_start, | 200 int32 selection_start, |
| 201 int32 selection_end, | 201 int32 selection_end, |
| 202 const std::vector<metro_viewer::UnderlineInfo>& underlines); | 202 const std::vector<metro_viewer::UnderlineInfo>& underlines); |
| 203 void OnImeTextCommitted(const string16& text); | 203 void OnImeTextCommitted(const base::string16& text); |
| 204 void OnImeInputSourceChanged(uint16 language_id, bool is_ime); | 204 void OnImeInputSourceChanged(uint16 language_id, bool is_ime); |
| 205 | 205 |
| 206 // RootWindowHost overrides: | 206 // RootWindowHost overrides: |
| 207 virtual RootWindow* GetRootWindow() OVERRIDE; | 207 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 208 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 208 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 209 virtual void Show() OVERRIDE; | 209 virtual void Show() OVERRIDE; |
| 210 virtual void Hide() OVERRIDE; | 210 virtual void Hide() OVERRIDE; |
| 211 virtual void ToggleFullScreen() OVERRIDE; | 211 virtual void ToggleFullScreen() OVERRIDE; |
| 212 virtual gfx::Rect GetBounds() const OVERRIDE; | 212 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 213 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 213 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 285 |
| 286 // Current size of this root window. | 286 // Current size of this root window. |
| 287 gfx::Size window_size_; | 287 gfx::Size window_size_; |
| 288 | 288 |
| 289 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 289 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
| 290 }; | 290 }; |
| 291 | 291 |
| 292 } // namespace aura | 292 } // namespace aura |
| 293 | 293 |
| 294 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 294 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |