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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_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 | « app/win_util.h ('k') | chrome/browser/autocomplete/autocomplete_edit_view_win.h » ('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 "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" 5 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "app/clipboard/clipboard.h" 12 #include "app/clipboard/clipboard.h"
13 #include "app/clipboard/scoped_clipboard_writer.h" 13 #include "app/clipboard/scoped_clipboard_writer.h"
14 #include "app/gfx/font.h"
15 #include "app/l10n_util.h" 14 #include "app/l10n_util.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
18 #include "chrome/app/chrome_dll_resource.h" 17 #include "chrome/app/chrome_dll_resource.h"
19 #include "chrome/browser/autocomplete/autocomplete_edit.h" 18 #include "chrome/browser/autocomplete/autocomplete_edit.h"
20 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 19 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
21 #include "chrome/browser/autocomplete/autocomplete_popup_view_gtk.h" 20 #include "chrome/browser/autocomplete/autocomplete_popup_view_gtk.h"
22 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/command_updater.h" 22 #include "chrome/browser/command_updater.h"
24 #include "chrome/browser/defaults.h" 23 #include "chrome/browser/defaults.h"
25 #include "chrome/browser/gtk/gtk_util.h" 24 #include "chrome/browser/gtk/gtk_util.h"
26 #include "chrome/browser/gtk/view_id_util.h" 25 #include "chrome/browser/gtk/view_id_util.h"
27 #include "chrome/browser/tab_contents/tab_contents.h" 26 #include "chrome/browser/tab_contents/tab_contents.h"
28 #include "chrome/browser/toolbar_model.h" 27 #include "chrome/browser/toolbar_model.h"
29 #include "chrome/common/notification_service.h" 28 #include "chrome/common/notification_service.h"
29 #include "gfx/font.h"
30 #include "gfx/gtk_util.h" 30 #include "gfx/gtk_util.h"
31 #include "googleurl/src/gurl.h" 31 #include "googleurl/src/gurl.h"
32 #include "grit/generated_resources.h" 32 #include "grit/generated_resources.h"
33 #include "net/base/escape.h" 33 #include "net/base/escape.h"
34 34
35 #if defined(TOOLKIT_VIEWS) 35 #if defined(TOOLKIT_VIEWS)
36 #include "chrome/browser/views/location_bar_view.h" 36 #include "chrome/browser/views/location_bar_view.h"
37 #include "gfx/skia_utils_gtk.h" 37 #include "gfx/skia_utils_gtk.h"
38 #else 38 #else
39 #include "chrome/browser/gtk/gtk_theme_provider.h" 39 #include "chrome/browser/gtk/gtk_theme_provider.h"
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 1421
1422 PangoDirection dir = PANGO_DIRECTION_NEUTRAL; 1422 PangoDirection dir = PANGO_DIRECTION_NEUTRAL;
1423 do { 1423 do {
1424 dir = pango_unichar_direction(gtk_text_iter_get_char(&iter)); 1424 dir = pango_unichar_direction(gtk_text_iter_get_char(&iter));
1425 if (dir != PANGO_DIRECTION_NEUTRAL) 1425 if (dir != PANGO_DIRECTION_NEUTRAL)
1426 break; 1426 break;
1427 } while (gtk_text_iter_forward_char(&iter)); 1427 } while (gtk_text_iter_forward_char(&iter));
1428 1428
1429 return dir; 1429 return dir;
1430 } 1430 }
OLDNEW
« no previous file with comments | « app/win_util.h ('k') | chrome/browser/autocomplete/autocomplete_edit_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698