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

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

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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
« no previous file with comments | « ui/views/widget/tooltip_manager_aura.cc ('k') | ui/views/widget/tooltip_manager_win.cc » ('j') | 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) 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 UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_
6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <commctrl.h> 9 #include <commctrl.h>
10 #include <string> 10 #include <string>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // The View the mouse is under. This is null if the mouse isn't under a 109 // The View the mouse is under. This is null if the mouse isn't under a
110 // View. 110 // View.
111 View* last_tooltip_view_; 111 View* last_tooltip_view_;
112 112
113 // Whether or not the view under the mouse needs to be refreshed. If this 113 // Whether or not the view under the mouse needs to be refreshed. If this
114 // is true, when the tooltip is asked for the view under the mouse is 114 // is true, when the tooltip is asked for the view under the mouse is
115 // refreshed. 115 // refreshed.
116 bool last_view_out_of_sync_; 116 bool last_view_out_of_sync_;
117 117
118 // Text for tooltip from the view. 118 // Text for tooltip from the view.
119 string16 tooltip_text_; 119 base::string16 tooltip_text_;
120 120
121 // The clipped tooltip. 121 // The clipped tooltip.
122 string16 clipped_text_; 122 base::string16 clipped_text_;
123 123
124 // Number of lines in the tooltip. 124 // Number of lines in the tooltip.
125 int line_count_; 125 int line_count_;
126 126
127 // Width of the last tooltip. 127 // Width of the last tooltip.
128 int tooltip_width_; 128 int tooltip_width_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin); 130 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin);
131 }; 131 };
132 132
133 } // namespace views 133 } // namespace views
134 134
135 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ 135 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/tooltip_manager_aura.cc ('k') | ui/views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698