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

Side by Side Diff: views/widget/tooltip_manager_gtk.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/widget/root_view_win.cc ('k') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_gtk.h" 5 #include "views/widget/tooltip_manager_gtk.h"
6 6
7 #include "app/gfx/font.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "gfx/font.h"
10 #include "views/focus/focus_manager.h" 10 #include "views/focus/focus_manager.h"
11 #include "views/screen.h" 11 #include "views/screen.h"
12 #include "views/widget/root_view.h" 12 #include "views/widget/root_view.h"
13 #include "views/widget/widget_gtk.h" 13 #include "views/widget/widget_gtk.h"
14 14
15 // WARNING: this implementation is good for a start, but it doesn't give us 15 // WARNING: this implementation is good for a start, but it doesn't give us
16 // control of tooltip positioning both on mouse events and when showing from 16 // control of tooltip positioning both on mouse events and when showing from
17 // keyboard. We may need to write our own to give us the control we need. 17 // keyboard. We may need to write our own to give us the control we need.
18 18
19 namespace views { 19 namespace views {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 if (!g_signal_parse_name("show_help", itype, &signal_id, &detail, FALSE)) { 234 if (!g_signal_parse_name("show_help", itype, &signal_id, &detail, FALSE)) {
235 NOTREACHED(); 235 NOTREACHED();
236 return false; 236 return false;
237 } 237 }
238 gboolean result; 238 gboolean result;
239 g_signal_emit(widget, signal_id, 0, GTK_WIDGET_HELP_TOOLTIP, &result); 239 g_signal_emit(widget, signal_id, 0, GTK_WIDGET_HELP_TOOLTIP, &result);
240 return true; 240 return true;
241 } 241 }
242 242
243 } // namespace views 243 } // namespace views
OLDNEW
« no previous file with comments | « views/widget/root_view_win.cc ('k') | views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698