| 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 WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 5 #ifndef WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
| 6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
| 7 | 7 |
| 8 #include <windows.applicationmodel.core.h> | 8 #include <windows.applicationmodel.core.h> |
| 9 #include <windows.ui.core.h> | 9 #include <windows.ui.core.h> |
| 10 #include <windows.ui.input.h> | 10 #include <windows.ui.input.h> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 void OnMetroExit(MetroTerminateMethod method); | 114 void OnMetroExit(MetroTerminateMethod method); |
| 115 | 115 |
| 116 HWND core_window_hwnd() const { return core_window_hwnd_; } | 116 HWND core_window_hwnd() const { return core_window_hwnd_; } |
| 117 | 117 |
| 118 | 118 |
| 119 private: | 119 private: |
| 120 class PointerInfoHandler; | 120 class PointerInfoHandler; |
| 121 | 121 |
| 122 // ImePopupObserver overrides. | 122 // ImePopupObserver overrides. |
| 123 virtual void OnImePopupChanged(ImePopupObserver::EventType event) OVERRIDE; | 123 virtual void OnImePopupChanged(ImePopupObserver::EventType event) override; |
| 124 | 124 |
| 125 // InputSourceObserver overrides. | 125 // InputSourceObserver overrides. |
| 126 virtual void OnInputSourceChanged() OVERRIDE; | 126 virtual void OnInputSourceChanged() override; |
| 127 | 127 |
| 128 // TextServiceDelegate overrides. | 128 // TextServiceDelegate overrides. |
| 129 virtual void OnCompositionChanged( | 129 virtual void OnCompositionChanged( |
| 130 const base::string16& text, | 130 const base::string16& text, |
| 131 int32 selection_start, | 131 int32 selection_start, |
| 132 int32 selection_end, | 132 int32 selection_end, |
| 133 const std::vector<metro_viewer::UnderlineInfo>& underlines) OVERRIDE; | 133 const std::vector<metro_viewer::UnderlineInfo>& underlines) override; |
| 134 virtual void OnTextCommitted(const base::string16& text) OVERRIDE; | 134 virtual void OnTextCommitted(const base::string16& text) override; |
| 135 | 135 |
| 136 // Convenience for sending a MetroViewerHostMsg_MouseButton with the specified | 136 // Convenience for sending a MetroViewerHostMsg_MouseButton with the specified |
| 137 // parameters. | 137 // parameters. |
| 138 void SendMouseButton(int x, | 138 void SendMouseButton(int x, |
| 139 int y, | 139 int y, |
| 140 int extra, | 140 int extra, |
| 141 ui::EventType event_type, | 141 ui::EventType event_type, |
| 142 uint32 flags, | 142 uint32 flags, |
| 143 ui::EventFlags changed_button, | 143 ui::EventFlags changed_button, |
| 144 bool is_horizontal_wheel); | 144 bool is_horizontal_wheel); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 252 |
| 253 // The cursor set by the chroem browser process. | 253 // The cursor set by the chroem browser process. |
| 254 HCURSOR last_cursor_; | 254 HCURSOR last_cursor_; |
| 255 | 255 |
| 256 // Pointer to the channel listener for the channel between the viewer and | 256 // Pointer to the channel listener for the channel between the viewer and |
| 257 // the browser. | 257 // the browser. |
| 258 IPC::Listener* channel_listener_; | 258 IPC::Listener* channel_listener_; |
| 259 }; | 259 }; |
| 260 | 260 |
| 261 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 261 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
| OLD | NEW |