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