| 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 #include "chrome/renderer/render_view.h" | 5 #include "chrome/renderer/render_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/gfx/png_encoder.h" | 12 #include "base/gfx/png_encoder.h" |
| 13 #include "base/gfx/native_widget_types.h" | 13 #include "base/gfx/native_widget_types.h" |
| 14 #include "base/string_piece.h" | 14 #include "base/string_piece.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
| 18 #include "chrome/common/gfx/favicon_size.h" | 18 #include "chrome/common/gfx/favicon_size.h" |
| 19 #include "chrome/common/gfx/color_utils.h" | 19 #include "chrome/common/gfx/color_utils.h" |
| 20 #include "chrome/common/jstemplate_builder.h" | 20 #include "chrome/common/jstemplate_builder.h" |
| 21 #include "chrome/common/l10n_util.h" | 21 #include "chrome/common/l10n_util.h" |
| 22 #include "chrome/common/page_zoom.h" | 22 #include "chrome/common/page_zoom.h" |
| 23 #include "chrome/common/render_messages.h" | 23 #include "chrome/common/render_messages.h" |
| 24 #include "chrome/common/resource_bundle.h" | 24 #include "chrome/common/resource_bundle.h" |
| 25 #include "chrome/common/thumbnail_score.h" | 25 #include "chrome/common/thumbnail_score.h" |
| 26 #include "chrome/renderer/about_handler.h" | 26 #include "chrome/renderer/about_handler.h" |
| 27 #include "chrome/renderer/debug_message_handler.h" | 27 #include "chrome/renderer/debug_message_handler.h" |
| 28 #include "chrome/renderer/localized_error.h" | 28 #include "chrome/renderer/localized_error.h" |
| 29 #include "chrome/renderer/render_process.h" | |
| 30 #include "chrome/renderer/renderer_resources.h" | 29 #include "chrome/renderer/renderer_resources.h" |
| 31 #include "chrome/renderer/user_script_slave.h" | 30 #include "chrome/renderer/user_script_slave.h" |
| 32 #include "chrome/renderer/visitedlink_slave.h" | 31 #include "chrome/renderer/visitedlink_slave.h" |
| 33 #include "chrome/renderer/webmediaplayer_delegate_impl.h" | 32 #include "chrome/renderer/webmediaplayer_delegate_impl.h" |
| 34 #include "chrome/renderer/webplugin_delegate_proxy.h" | 33 #include "chrome/renderer/webplugin_delegate_proxy.h" |
| 35 #include "net/base/escape.h" | 34 #include "net/base/escape.h" |
| 36 #include "net/base/net_errors.h" | 35 #include "net/base/net_errors.h" |
| 37 #include "skia/ext/bitmap_platform_device.h" | 36 #include "skia/ext/bitmap_platform_device.h" |
| 38 #include "skia/ext/image_operations.h" | 37 #include "skia/ext/image_operations.h" |
| 39 #include "webkit/default_plugin/default_plugin_shared.h" | 38 #include "webkit/default_plugin/default_plugin_shared.h" |
| 40 #include "webkit/glue/dom_operations.h" | 39 #include "webkit/glue/dom_operations.h" |
| 41 #include "webkit/glue/dom_serializer.h" | 40 #include "webkit/glue/dom_serializer.h" |
| 42 #include "webkit/glue/glue_accessibility.h" | |
| 43 #include "webkit/glue/password_form.h" | 41 #include "webkit/glue/password_form.h" |
| 44 #include "webkit/glue/plugins/plugin_list.h" | 42 #include "webkit/glue/plugins/plugin_list.h" |
| 45 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 43 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
| 46 #include "webkit/glue/searchable_form_data.h" | 44 #include "webkit/glue/searchable_form_data.h" |
| 47 #include "webkit/glue/webdatasource.h" | 45 #include "webkit/glue/webdatasource.h" |
| 48 #include "webkit/glue/webdropdata.h" | 46 #include "webkit/glue/webdropdata.h" |
| 49 #include "webkit/glue/weberror.h" | 47 #include "webkit/glue/weberror.h" |
| 50 #include "webkit/glue/webframe.h" | 48 #include "webkit/glue/webframe.h" |
| 51 #include "webkit/glue/webhistoryitem.h" | 49 #include "webkit/glue/webhistoryitem.h" |
| 52 #include "webkit/glue/webinputevent.h" | 50 #include "webkit/glue/webinputevent.h" |
| (...skipping 2797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2850 #if defined(OS_WIN) | 2848 #if defined(OS_WIN) |
| 2851 // "t" is the id of the templates root node. | 2849 // "t" is the id of the templates root node. |
| 2852 return jstemplate_builder::GetTemplateHtml( | 2850 return jstemplate_builder::GetTemplateHtml( |
| 2853 template_html, &error_strings, "t"); | 2851 template_html, &error_strings, "t"); |
| 2854 #else | 2852 #else |
| 2855 // TODO(port) | 2853 // TODO(port) |
| 2856 NOTIMPLEMENTED(); | 2854 NOTIMPLEMENTED(); |
| 2857 return std::string(); | 2855 return std::string(); |
| 2858 #endif // OS_WIN | 2856 #endif // OS_WIN |
| 2859 } | 2857 } |
| OLD | NEW |