OLD | NEW |
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 // This file provides the embedder's side of random webkit glue functions. | 5 // This file provides the embedder's side of random webkit glue functions. |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
11 #endif | 11 #endif |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
18 #include "chrome/common/url_constants.h" | |
19 #include "content/common/clipboard_messages.h" | 18 #include "content/common/clipboard_messages.h" |
20 #include "content/common/content_switches.h" | 19 #include "content/common/content_switches.h" |
21 #include "content/common/socket_stream_dispatcher.h" | 20 #include "content/common/socket_stream_dispatcher.h" |
| 21 #include "content/common/url_constants.h" |
22 #include "content/common/view_messages.h" | 22 #include "content/common/view_messages.h" |
23 #include "content/plugin/npobject_util.h" | 23 #include "content/plugin/npobject_util.h" |
24 #include "content/renderer/render_thread.h" | 24 #include "content/renderer/render_thread.h" |
25 #include "googleurl/src/url_util.h" | 25 #include "googleurl/src/url_util.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
29 #include "third_party/skia/include/core/SkBitmap.h" | 29 #include "third_party/skia/include/core/SkBitmap.h" |
30 #include "ui/base/clipboard/clipboard.h" | 30 #include "ui/base/clipboard/clipboard.h" |
31 #include "ui/base/resource/resource_bundle.h" | 31 #include "ui/base/resource/resource_bundle.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 } | 258 } |
259 | 259 |
260 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 260 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
261 size_t* output_length) { | 261 size_t* output_length) { |
262 return renderer_sandbox_support::GetFontTable( | 262 return renderer_sandbox_support::GetFontTable( |
263 fd, table, output, output_length); | 263 fd, table, output, output_length); |
264 } | 264 } |
265 #endif | 265 #endif |
266 | 266 |
267 } // namespace webkit_glue | 267 } // namespace webkit_glue |
OLD | NEW |