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 "app/clipboard/clipboard.h" | 15 #include "app/clipboard/clipboard.h" |
16 #include "app/clipboard/scoped_clipboard_writer.h" | |
17 #include "app/resource_bundle.h" | 16 #include "app/resource_bundle.h" |
18 #include "base/command_line.h" | 17 #include "base/command_line.h" |
19 #include "base/file_version_info.h" | 18 #include "base/file_version_info.h" |
20 #include "base/ref_counted.h" | 19 #include "base/ref_counted.h" |
21 #include "base/string_util.h" | 20 #include "base/string_util.h" |
22 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/common/chrome_version_info.h" | 22 #include "chrome/common/chrome_version_info.h" |
24 #include "chrome/common/render_messages.h" | 23 #include "chrome/common/render_messages.h" |
25 #include "chrome/common/socket_stream_dispatcher.h" | 24 #include "chrome/common/socket_stream_dispatcher.h" |
26 #include "chrome/common/url_constants.h" | 25 #include "chrome/common/url_constants.h" |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 319 } |
321 | 320 |
322 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 321 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
323 size_t* output_length) { | 322 size_t* output_length) { |
324 return renderer_sandbox_support::GetFontTable( | 323 return renderer_sandbox_support::GetFontTable( |
325 fd, table, output, output_length); | 324 fd, table, output, output_length); |
326 } | 325 } |
327 #endif | 326 #endif |
328 | 327 |
329 } // namespace webkit_glue | 328 } // namespace webkit_glue |
OLD | NEW |