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 // 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/ref_counted.h" | 16 #include "base/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/clipboard_messages.h" | 21 #include "chrome/common/clipboard_messages.h" |
22 #include "chrome/common/render_messages.h" | 22 #include "chrome/common/render_messages.h" |
23 #include "chrome/common/url_constants.h" | 23 #include "chrome/common/url_constants.h" |
24 #include "chrome/plugin/npobject_util.h" | |
25 #include "chrome/renderer/net/renderer_net_predictor.h" | 24 #include "chrome/renderer/net/renderer_net_predictor.h" |
26 #include "chrome/renderer/render_process.h" | 25 #include "chrome/renderer/render_process.h" |
27 #include "chrome/renderer/render_thread.h" | 26 #include "chrome/renderer/render_thread.h" |
28 #include "content/common/socket_stream_dispatcher.h" | 27 #include "content/common/socket_stream_dispatcher.h" |
| 28 #include "content/plugin/npobject_util.h" |
29 #include "googleurl/src/url_util.h" | 29 #include "googleurl/src/url_util.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
33 #include "third_party/skia/include/core/SkBitmap.h" | 33 #include "third_party/skia/include/core/SkBitmap.h" |
34 #include "ui/base/clipboard/clipboard.h" | 34 #include "ui/base/clipboard/clipboard.h" |
35 #include "ui/base/resource/resource_bundle.h" | 35 #include "ui/base/resource/resource_bundle.h" |
36 #include "webkit/glue/scoped_clipboard_writer_glue.h" | 36 #include "webkit/glue/scoped_clipboard_writer_glue.h" |
37 #include "webkit/glue/webkit_glue.h" | 37 #include "webkit/glue/webkit_glue.h" |
38 #include "webkit/glue/websocketstreamhandle_bridge.h" | 38 #include "webkit/glue/websocketstreamhandle_bridge.h" |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 307 } |
308 | 308 |
309 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 309 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
310 size_t* output_length) { | 310 size_t* output_length) { |
311 return renderer_sandbox_support::GetFontTable( | 311 return renderer_sandbox_support::GetFontTable( |
312 fd, table, output, output_length); | 312 fd, table, output, output_length); |
313 } | 313 } |
314 #endif | 314 #endif |
315 | 315 |
316 } // namespace webkit_glue | 316 } // namespace webkit_glue |
OLD | NEW |