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_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 virtual void HandleMove() OVERRIDE; | 223 virtual void HandleMove() OVERRIDE; |
224 virtual void HandleWorkAreaChanged() OVERRIDE; | 224 virtual void HandleWorkAreaChanged() OVERRIDE; |
225 virtual void HandleVisibilityChanged(bool visible) OVERRIDE; | 225 virtual void HandleVisibilityChanged(bool visible) OVERRIDE; |
226 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; | 226 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; |
227 virtual void HandleFrameChanged() OVERRIDE; | 227 virtual void HandleFrameChanged() OVERRIDE; |
228 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; | 228 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; |
229 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; | 229 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; |
230 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; | 230 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; |
231 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 231 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
232 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 232 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
| 233 virtual bool HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE; |
233 virtual bool HandleIMEMessage(UINT message, | 234 virtual bool HandleIMEMessage(UINT message, |
234 WPARAM w_param, | 235 WPARAM w_param, |
235 LPARAM l_param, | 236 LPARAM l_param, |
236 LRESULT* result) OVERRIDE; | 237 LRESULT* result) OVERRIDE; |
237 virtual void HandleInputLanguageChange(DWORD character_set, | 238 virtual void HandleInputLanguageChange(DWORD character_set, |
238 HKL input_language_id) OVERRIDE; | 239 HKL input_language_id) OVERRIDE; |
239 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; | 240 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; |
240 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; | 241 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; |
241 virtual void HandleScreenReaderDetected() OVERRIDE; | 242 virtual void HandleScreenReaderDetected() OVERRIDE; |
242 virtual bool HandleTooltipNotify(int w_param, | 243 virtual bool HandleTooltipNotify(int w_param, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 bool has_non_client_view_; | 303 bool has_non_client_view_; |
303 | 304 |
304 scoped_ptr<HWNDMessageHandler> message_handler_; | 305 scoped_ptr<HWNDMessageHandler> message_handler_; |
305 | 306 |
306 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 307 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
307 }; | 308 }; |
308 | 309 |
309 } // namespace views | 310 } // namespace views |
310 | 311 |
311 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 312 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |