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; |
219 virtual LRESULT OnWndProc(UINT message, | 220 virtual LRESULT OnWndProc(UINT message, |
220 WPARAM w_param, | 221 WPARAM w_param, |
221 LPARAM l_param) override; | 222 LPARAM l_param) override; |
222 | 223 |
223 // Overridden from WindowEventTarget | 224 // Overridden from WindowEventTarget |
224 virtual LRESULT HandleMouseMessage(unsigned int message, | 225 virtual LRESULT HandleMouseMessage(unsigned int message, |
225 WPARAM w_param, | 226 WPARAM w_param, |
226 LPARAM l_param, | 227 LPARAM l_param, |
227 bool* handled) override; | 228 bool* handled) override; |
228 virtual LRESULT HandleKeyboardMessage(unsigned int message, | 229 virtual LRESULT HandleKeyboardMessage(unsigned int message, |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 // This member variable is set to true if the window is transitioning to | 628 // This member variable is set to true if the window is transitioning to |
628 // glass. Defaults to false. | 629 // glass. Defaults to false. |
629 bool dwm_transition_desired_; | 630 bool dwm_transition_desired_; |
630 | 631 |
631 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 632 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
632 }; | 633 }; |
633 | 634 |
634 } // namespace views | 635 } // namespace views |
635 | 636 |
636 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 637 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |