OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include <wininet.h> | 11 #include <wininet.h> |
12 #endif | 12 #endif |
13 | 13 |
14 #include "base/clipboard.h" | 14 #include "base/clipboard.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/scoped_clipboard_writer.h" | 16 #include "base/scoped_clipboard_writer.h" |
17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
18 #include "chrome/renderer/net/render_dns_master.h" | 18 #include "chrome/renderer/net/render_dns_master.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/resource_bundle.h" | 20 #include "chrome/common/resource_bundle.h" |
| 21 #include "chrome/common/render_messages.h" |
21 #include "chrome/plugin/npobject_util.h" | 22 #include "chrome/plugin/npobject_util.h" |
22 #include "chrome/renderer/render_view.h" | 23 #include "chrome/renderer/render_view.h" |
23 #include "chrome/renderer/visitedlink_slave.h" | 24 #include "chrome/renderer/visitedlink_slave.h" |
24 #include "googleurl/src/url_util.h" | 25 #include "googleurl/src/url_util.h" |
25 #include "net/base/mime_util.h" | 26 #include "net/base/mime_util.h" |
26 #include "net/base/net_errors.h" | 27 #include "net/base/net_errors.h" |
27 #include "webkit/glue/scoped_clipboard_writer_glue.h" | 28 #include "webkit/glue/scoped_clipboard_writer_glue.h" |
28 #include "webkit/glue/webframe.h" | 29 #include "webkit/glue/webframe.h" |
29 #include "webkit/glue/webkit_glue.h" | 30 #include "webkit/glue/webkit_glue.h" |
30 | 31 |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 // NOTE: Since this can be called from the plugin process, we might not have | 357 // NOTE: Since this can be called from the plugin process, we might not have |
357 // a RenderThread. Do nothing in that case. | 358 // a RenderThread. Do nothing in that case. |
358 if (g_render_thread) | 359 if (g_render_thread) |
359 g_render_thread->InformHostOfCacheStatsLater(); | 360 g_render_thread->InformHostOfCacheStatsLater(); |
360 } | 361 } |
361 | 362 |
362 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE | 363 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE |
363 | 364 |
364 } // namespace webkit_glue | 365 } // namespace webkit_glue |
365 | 366 |
OLD | NEW |