Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: ui/views/win/hwnd_message_handler.h

Issue 1286273002: Address Win/Clang style plugin error in hwnd_message_handler.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 // to Aero(glass) we delay setting the DWM related properties in full 580 // to Aero(glass) we delay setting the DWM related properties in full
581 // screen mode as DWM is not supported in full screen windows. We perform 581 // screen mode as DWM is not supported in full screen windows. We perform
582 // the DWM related operations when the window comes out of fullscreen mode. 582 // the DWM related operations when the window comes out of fullscreen mode.
583 // This member variable is set to true if the window is transitioning to 583 // This member variable is set to true if the window is transitioning to
584 // glass. Defaults to false. 584 // glass. Defaults to false.
585 bool dwm_transition_desired_; 585 bool dwm_transition_desired_;
586 586
587 // Manages observation of Windows Session Change messages. 587 // Manages observation of Windows Session Change messages.
588 scoped_ptr<WindowsSessionChangeObserver> windows_session_change_observer_; 588 scoped_ptr<WindowsSessionChangeObserver> windows_session_change_observer_;
589 589
590 // This class provides functionality to register the legacy window as a
591 // Direct Manipulation consumer. This allows us to support smooth scroll
592 // in Chrome on Windows 10.
593 scoped_ptr<gfx::win::DirectManipulationHelper> direct_manipulation_helper_;
594
590 // The WeakPtrFactories below must occur last in the class definition so they 595 // The WeakPtrFactories below must occur last in the class definition so they
591 // get destroyed last. 596 // get destroyed last.
592 597
593 // The factory used to lookup appbar autohide edges. 598 // The factory used to lookup appbar autohide edges.
594 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; 599 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_;
595 600
596 // The factory used with BEGIN_SAFE_MSG_MAP_EX. 601 // The factory used with BEGIN_SAFE_MSG_MAP_EX.
597 base::WeakPtrFactory<HWNDMessageHandler> weak_factory_; 602 base::WeakPtrFactory<HWNDMessageHandler> weak_factory_;
598 603
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
604 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 604 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
605 }; 605 };
606 606
607 } // namespace views 607 } // namespace views
608 608
609 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 609 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698