| 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/scoped_clipboard_writer.h" | 15 #include "base/scoped_clipboard_writer.h" |
| 16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
| 17 #include "chrome/common/chrome_switches.h" |
| 18 #include "chrome/common/render_messages.h" |
| 19 #include "chrome/common/resource_bundle.h" |
| 20 #include "chrome/plugin/npobject_util.h" |
| 17 #include "chrome/renderer/net/render_dns_master.h" | 21 #include "chrome/renderer/net/render_dns_master.h" |
| 18 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/renderer/render_process.h" |
| 19 #include "chrome/common/resource_bundle.h" | 23 #include "chrome/renderer/render_thread.h" |
| 20 #include "chrome/common/render_messages.h" | |
| 21 #include "chrome/plugin/npobject_util.h" | |
| 22 #include "chrome/renderer/render_view.h" | 24 #include "chrome/renderer/render_view.h" |
| 23 #include "chrome/renderer/visitedlink_slave.h" | 25 #include "chrome/renderer/visitedlink_slave.h" |
| 24 #include "googleurl/src/url_util.h" | 26 #include "googleurl/src/url_util.h" |
| 25 #include "net/base/mime_util.h" | 27 #include "net/base/mime_util.h" |
| 26 #include "net/base/net_errors.h" | 28 #include "net/base/net_errors.h" |
| 27 #include "webkit/glue/scoped_clipboard_writer_glue.h" | 29 #include "webkit/glue/scoped_clipboard_writer_glue.h" |
| 28 #include "webkit/glue/webframe.h" | 30 #include "webkit/glue/webframe.h" |
| 29 #include "webkit/glue/webkit_glue.h" | 31 #include "webkit/glue/webkit_glue.h" |
| 30 | 32 |
| 31 #include <vector> | 33 #include <vector> |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 // Update the browser about our cache | 375 // Update the browser about our cache |
| 374 // NOTE: Since this can be called from the plugin process, we might not have | 376 // NOTE: Since this can be called from the plugin process, we might not have |
| 375 // a RenderThread. Do nothing in that case. | 377 // a RenderThread. Do nothing in that case. |
| 376 if (g_render_thread) | 378 if (g_render_thread) |
| 377 g_render_thread->InformHostOfCacheStatsLater(); | 379 g_render_thread->InformHostOfCacheStatsLater(); |
| 378 } | 380 } |
| 379 | 381 |
| 380 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE | 382 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE |
| 381 | 383 |
| 382 } // namespace webkit_glue | 384 } // namespace webkit_glue |
| 383 | |
| OLD | NEW |