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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 virtual void HandleWorkAreaChanged() OVERRIDE; | 204 virtual void HandleWorkAreaChanged() OVERRIDE; |
205 virtual void HandleVisibilityChanging(bool visible) OVERRIDE; | 205 virtual void HandleVisibilityChanging(bool visible) OVERRIDE; |
206 virtual void HandleVisibilityChanged(bool visible) OVERRIDE; | 206 virtual void HandleVisibilityChanged(bool visible) OVERRIDE; |
207 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; | 207 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; |
208 virtual void HandleFrameChanged() OVERRIDE; | 208 virtual void HandleFrameChanged() OVERRIDE; |
209 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; | 209 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; |
210 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; | 210 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; |
211 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; | 211 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; |
212 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 212 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
213 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 213 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
214 virtual bool HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE; | 214 virtual void HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE; |
215 virtual bool HandleIMEMessage(UINT message, | 215 virtual bool HandleIMEMessage(UINT message, |
216 WPARAM w_param, | 216 WPARAM w_param, |
217 LPARAM l_param, | 217 LPARAM l_param, |
218 LRESULT* result) OVERRIDE; | 218 LRESULT* result) OVERRIDE; |
219 virtual void HandleInputLanguageChange(DWORD character_set, | 219 virtual void HandleInputLanguageChange(DWORD character_set, |
220 HKL input_language_id) OVERRIDE; | 220 HKL input_language_id) OVERRIDE; |
221 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; | 221 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; |
222 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; | 222 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; |
223 virtual bool HandleTooltipNotify(int w_param, | 223 virtual bool HandleTooltipNotify(int w_param, |
224 NMHDR* l_param, | 224 NMHDR* l_param, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 bool has_non_client_view_; | 266 bool has_non_client_view_; |
267 | 267 |
268 scoped_ptr<HWNDMessageHandler> message_handler_; | 268 scoped_ptr<HWNDMessageHandler> message_handler_; |
269 | 269 |
270 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 270 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace views | 273 } // namespace views |
274 | 274 |
275 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 275 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |