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_WIN_HWND_MESSAGE_HANDLER_H_ | 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 void SizeConstraintsChanged(); | 209 void SizeConstraintsChanged(); |
210 | 210 |
211 private: | 211 private: |
212 typedef std::set<DWORD> TouchIDs; | 212 typedef std::set<DWORD> TouchIDs; |
213 | 213 |
214 // Overridden from internal::InputMethodDelegate: | 214 // Overridden from internal::InputMethodDelegate: |
215 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) override; | 215 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) override; |
216 | 216 |
217 // Overridden from WindowImpl: | 217 // Overridden from WindowImpl: |
218 virtual HICON GetDefaultWindowIcon() const override; | 218 virtual HICON GetDefaultWindowIcon() const override; |
219 virtual HICON GetSmallWindowIcon() const override; | |
220 virtual LRESULT OnWndProc(UINT message, | 219 virtual LRESULT OnWndProc(UINT message, |
221 WPARAM w_param, | 220 WPARAM w_param, |
222 LPARAM l_param) override; | 221 LPARAM l_param) override; |
223 | 222 |
224 // Overridden from WindowEventTarget | 223 // Overridden from WindowEventTarget |
225 virtual LRESULT HandleMouseMessage(unsigned int message, | 224 virtual LRESULT HandleMouseMessage(unsigned int message, |
226 WPARAM w_param, | 225 WPARAM w_param, |
227 LPARAM l_param, | 226 LPARAM l_param, |
228 bool* handled) override; | 227 bool* handled) override; |
229 virtual LRESULT HandleKeyboardMessage(unsigned int message, | 228 virtual LRESULT HandleKeyboardMessage(unsigned int message, |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 // This member variable is set to true if the window is transitioning to | 627 // This member variable is set to true if the window is transitioning to |
629 // glass. Defaults to false. | 628 // glass. Defaults to false. |
630 bool dwm_transition_desired_; | 629 bool dwm_transition_desired_; |
631 | 630 |
632 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 631 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
633 }; | 632 }; |
634 | 633 |
635 } // namespace views | 634 } // namespace views |
636 | 635 |
637 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 636 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |