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 12 matching lines...) Expand all Loading... | |
23 #include "ui/events/event.h" | 23 #include "ui/events/event.h" |
24 #include "ui/gfx/geometry/rect.h" | 24 #include "ui/gfx/geometry/rect.h" |
25 #include "ui/gfx/sequential_id_generator.h" | 25 #include "ui/gfx/sequential_id_generator.h" |
26 #include "ui/gfx/win/window_impl.h" | 26 #include "ui/gfx/win/window_impl.h" |
27 #include "ui/views/views_export.h" | 27 #include "ui/views/views_export.h" |
28 | 28 |
29 namespace gfx { | 29 namespace gfx { |
30 class Canvas; | 30 class Canvas; |
31 class ImageSkia; | 31 class ImageSkia; |
32 class Insets; | 32 class Insets; |
33 } | 33 namespace win { |
34 class DirectManipulationHelper; | |
35 } // namespace win | |
36 } // namespace gfx | |
34 | 37 |
35 namespace ui { | 38 namespace ui { |
36 class ViewProp; | 39 class ViewProp; |
37 } | 40 } |
38 | 41 |
39 namespace views { | 42 namespace views { |
40 | 43 |
41 class FullscreenHandler; | 44 class FullscreenHandler; |
42 class HWNDMessageHandlerDelegate; | 45 class HWNDMessageHandlerDelegate; |
43 class WindowsSessionChangeObserver; | 46 class WindowsSessionChangeObserver; |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
581 // glass. Defaults to false. | 584 // glass. Defaults to false. |
582 bool dwm_transition_desired_; | 585 bool dwm_transition_desired_; |
583 | 586 |
584 // Manages observation of Windows Session Change messages. | 587 // Manages observation of Windows Session Change messages. |
585 scoped_ptr<WindowsSessionChangeObserver> windows_session_change_observer_; | 588 scoped_ptr<WindowsSessionChangeObserver> windows_session_change_observer_; |
586 | 589 |
587 // The WeakPtrFactories below must occur last in the class definition so they | 590 // The WeakPtrFactories below must occur last in the class definition so they |
588 // get destroyed last. | 591 // get destroyed last. |
589 | 592 |
590 // The factory used to lookup appbar autohide edges. | 593 // The factory used to lookup appbar autohide edges. |
591 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; | 594 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; |
hans
2015/08/12 20:24:03
Another Win/Clang style plugin error:
In file inc
| |
592 | 595 |
593 // The factory used with BEGIN_SAFE_MSG_MAP_EX. | 596 // The factory used with BEGIN_SAFE_MSG_MAP_EX. |
594 base::WeakPtrFactory<HWNDMessageHandler> weak_factory_; | 597 base::WeakPtrFactory<HWNDMessageHandler> weak_factory_; |
595 | 598 |
599 // This class provides functionality to register the legacy window as a | |
600 // Direct Manipulation consumer. This allows us to support smooth scroll | |
601 // in Chrome on Windows 10. | |
602 scoped_ptr<gfx::win::DirectManipulationHelper> direct_manipulation_helper_; | |
603 | |
596 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 604 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
597 }; | 605 }; |
598 | 606 |
599 } // namespace views | 607 } // namespace views |
600 | 608 |
601 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 609 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |