OLD | NEW |
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/gtk/gtk_util.h" | 5 #include "chrome/browser/gtk/gtk_util.h" |
6 | 6 |
7 #include <cairo/cairo.h> | 7 #include <cairo/cairo.h> |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #include <gdk/gdkx.h> | 9 #include <gdk/gdkx.h> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/nix/xdg_util.h" | 21 #include "base/nix/xdg_util.h" |
22 #include "base/string_number_conversions.h" | 22 #include "base/string_number_conversions.h" |
23 #include "base/utf_string_conversions.h" | 23 #include "base/utf_string_conversions.h" |
24 #include "chrome/browser/autocomplete/autocomplete.h" | 24 #include "chrome/browser/autocomplete/autocomplete.h" |
25 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 25 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
26 #include "chrome/browser/autocomplete/autocomplete_match.h" | 26 #include "chrome/browser/autocomplete/autocomplete_match.h" |
27 #include "chrome/browser/browser_list.h" | 27 #include "chrome/browser/browser_list.h" |
28 #include "chrome/browser/browser_window.h" | 28 #include "chrome/browser/browser_window.h" |
29 #include "chrome/browser/gtk/cairo_cached_surface.h" | 29 #include "chrome/browser/gtk/cairo_cached_surface.h" |
30 #include "chrome/browser/gtk/gtk_theme_provider.h" | 30 #include "chrome/browser/gtk/gtk_theme_provider.h" |
31 #include "chrome/browser/profile.h" | 31 #include "chrome/browser/profiles/profile.h" |
32 #include "chrome/browser/renderer_host/render_view_host.h" | 32 #include "chrome/browser/renderer_host/render_view_host.h" |
33 #include "chrome/browser/tab_contents/tab_contents.h" | 33 #include "chrome/browser/tab_contents/tab_contents.h" |
34 #include "chrome/common/renderer_preferences.h" | 34 #include "chrome/common/renderer_preferences.h" |
35 #include "gfx/gtk_util.h" | 35 #include "gfx/gtk_util.h" |
36 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
37 #include "grit/theme_resources.h" | 37 #include "grit/theme_resources.h" |
38 #include "third_party/skia/include/core/SkBitmap.h" | 38 #include "third_party/skia/include/core/SkBitmap.h" |
39 #include "third_party/skia/include/core/SkColor.h" | 39 #include "third_party/skia/include/core/SkColor.h" |
40 | 40 |
41 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 | 1241 |
1242 void DoCopy(BrowserWindow* window) { | 1242 void DoCopy(BrowserWindow* window) { |
1243 DoCutCopyPaste(window, &RenderViewHost::Copy, "copy-clipboard"); | 1243 DoCutCopyPaste(window, &RenderViewHost::Copy, "copy-clipboard"); |
1244 } | 1244 } |
1245 | 1245 |
1246 void DoPaste(BrowserWindow* window) { | 1246 void DoPaste(BrowserWindow* window) { |
1247 DoCutCopyPaste(window, &RenderViewHost::Paste, "paste-clipboard"); | 1247 DoCutCopyPaste(window, &RenderViewHost::Paste, "paste-clipboard"); |
1248 } | 1248 } |
1249 | 1249 |
1250 } // namespace gtk_util | 1250 } // namespace gtk_util |
OLD | NEW |