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

Side by Side Diff: ui/views/widget/aero_tooltip_manager.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ 5 #ifndef UI_VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_
6 #define VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ 6 #define UI_VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "views/widget/tooltip_manager_win.h" 10 #include "ui/views/widget/tooltip_manager_win.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 /////////////////////////////////////////////////////////////////////////////// 14 ///////////////////////////////////////////////////////////////////////////////
15 // AeroTooltipManager 15 // AeroTooltipManager
16 // 16 //
17 // Default Windows tooltips are broken when using our custom window frame 17 // Default Windows tooltips are broken when using our custom window frame
18 // - as soon as the tooltip receives a WM_MOUSEMOVE event, it starts spewing 18 // - as soon as the tooltip receives a WM_MOUSEMOVE event, it starts spewing
19 // NCHITTEST messages at its parent window (us). These messages have random 19 // NCHITTEST messages at its parent window (us). These messages have random
20 // x/y coordinates and can't be ignored, as the DwmDefWindowProc uses 20 // x/y coordinates and can't be ignored, as the DwmDefWindowProc uses
(...skipping 29 matching lines...) Expand all
50 50
51 AeroTooltipManager* manager_; 51 AeroTooltipManager* manager_;
52 }; 52 };
53 53
54 int initial_delay_; 54 int initial_delay_;
55 scoped_refptr<InitialTimer> initial_timer_; 55 scoped_refptr<InitialTimer> initial_timer_;
56 }; 56 };
57 57
58 } // namespace views 58 } // namespace views
59 59
60 #endif // #ifndef VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ 60 #endif // UI_VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/views/touchui/touch_selection_controller_impl_unittest.cc ('k') | ui/views/widget/aero_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698