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 "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/chrome_version_info.h" | 20 #include "chrome/common/chrome_version_info.h" |
21 #include "chrome/common/render_messages.h" | 21 #include "chrome/common/render_messages.h" |
22 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
23 #include "chrome/renderer/render_process.h" | |
24 #include "content/common/clipboard_messages.h" | 23 #include "content/common/clipboard_messages.h" |
25 #include "content/common/socket_stream_dispatcher.h" | 24 #include "content/common/socket_stream_dispatcher.h" |
26 #include "content/common/view_messages.h" | 25 #include "content/common/view_messages.h" |
27 #include "content/plugin/npobject_util.h" | 26 #include "content/plugin/npobject_util.h" |
28 #include "content/renderer/render_thread.h" | 27 #include "content/renderer/render_thread.h" |
29 #include "googleurl/src/url_util.h" | 28 #include "googleurl/src/url_util.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
33 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 } | 302 } |
304 | 303 |
305 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 304 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
306 size_t* output_length) { | 305 size_t* output_length) { |
307 return renderer_sandbox_support::GetFontTable( | 306 return renderer_sandbox_support::GetFontTable( |
308 fd, table, output, output_length); | 307 fd, table, output, output_length); |
309 } | 308 } |
310 #endif | 309 #endif |
311 | 310 |
312 } // namespace webkit_glue | 311 } // namespace webkit_glue |
OLD | NEW |