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: views/widget/tooltip_manager.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « views/drag_utils.cc ('k') | views/widget/widget_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "views/widget/tooltip_manager.h" 5 #include "views/widget/tooltip_manager.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "app/gfx/text_elider.h" 9 #include "app/gfx/text_elider.h"
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/l10n_util_win.h" 11 #include "app/l10n_util_win.h"
12 #include "app/win_util.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/message_loop.h" 14 #include "base/message_loop.h"
14 #include "chrome/common/win_util.h"
15 #include "views/view.h" 15 #include "views/view.h"
16 #include "views/widget/root_view.h" 16 #include "views/widget/root_view.h"
17 #include "views/widget/widget.h" 17 #include "views/widget/widget.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 //static 21 //static
22 int TooltipManager::tooltip_height_ = 0; 22 int TooltipManager::tooltip_height_ = 0;
23 23
24 // Default timeout for the tooltip displayed using keyboard. 24 // Default timeout for the tooltip displayed using keyboard.
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 keyboard_tooltip_hwnd_ = NULL; 438 keyboard_tooltip_hwnd_ = NULL;
439 } 439 }
440 } 440 }
441 441
442 void TooltipManager::DestroyKeyboardTooltipWindow(HWND window_to_destroy) { 442 void TooltipManager::DestroyKeyboardTooltipWindow(HWND window_to_destroy) {
443 if (keyboard_tooltip_hwnd_ == window_to_destroy) 443 if (keyboard_tooltip_hwnd_ == window_to_destroy)
444 HideKeyboardTooltip(); 444 HideKeyboardTooltip();
445 } 445 }
446 446
447 } // namespace views 447 } // namespace views
OLDNEW
« no previous file with comments | « views/drag_utils.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698