Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 21 matching lines...) Expand all
32 #include "content/child/appcache_dispatcher.h" 32 #include "content/child/appcache_dispatcher.h"
33 #include "content/child/child_thread.h" 33 #include "content/child/child_thread.h"
34 #include "content/child/fileapi/file_system_dispatcher.h" 34 #include "content/child/fileapi/file_system_dispatcher.h"
35 #include "content/child/fileapi/webfilesystem_callback_adapters.h" 35 #include "content/child/fileapi/webfilesystem_callback_adapters.h"
36 #include "content/child/npapi/webplugin_delegate_impl.h" 36 #include "content/child/npapi/webplugin_delegate_impl.h"
37 #include "content/child/quota_dispatcher.h" 37 #include "content/child/quota_dispatcher.h"
38 #include "content/child/request_extra_data.h" 38 #include "content/child/request_extra_data.h"
39 #include "content/child/webmessageportchannel_impl.h" 39 #include "content/child/webmessageportchannel_impl.h"
40 #include "content/common/clipboard_messages.h" 40 #include "content/common/clipboard_messages.h"
41 #include "content/common/database_messages.h" 41 #include "content/common/database_messages.h"
42 #include "content/common/dom_storage/dom_storage_types.h"
42 #include "content/common/drag_messages.h" 43 #include "content/common/drag_messages.h"
43 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 44 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
44 #include "content/common/input_messages.h" 45 #include "content/common/input_messages.h"
45 #include "content/common/java_bridge_messages.h" 46 #include "content/common/java_bridge_messages.h"
46 #include "content/common/pepper_messages.h" 47 #include "content/common/pepper_messages.h"
47 #include "content/common/socket_stream_handle_data.h" 48 #include "content/common/socket_stream_handle_data.h"
48 #include "content/common/ssl_status_serialization.h" 49 #include "content/common/ssl_status_serialization.h"
49 #include "content/common/view_messages.h" 50 #include "content/common/view_messages.h"
50 #include "content/public/common/bindings_policy.h" 51 #include "content/public/common/bindings_policy.h"
51 #include "content/public/common/content_client.h" 52 #include "content/public/common/content_client.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" 202 #include "third_party/WebKit/public/web/default/WebRenderTheme.h"
202 #include "ui/base/ui_base_switches_util.h" 203 #include "ui/base/ui_base_switches_util.h"
203 #include "ui/gfx/native_widget_types.h" 204 #include "ui/gfx/native_widget_types.h"
204 #include "ui/gfx/point.h" 205 #include "ui/gfx/point.h"
205 #include "ui/gfx/rect.h" 206 #include "ui/gfx/rect.h"
206 #include "ui/gfx/rect_conversions.h" 207 #include "ui/gfx/rect_conversions.h"
207 #include "ui/gfx/size_conversions.h" 208 #include "ui/gfx/size_conversions.h"
208 #include "ui/shell_dialogs/selected_file_info.h" 209 #include "ui/shell_dialogs/selected_file_info.h"
209 #include "v8/include/v8.h" 210 #include "v8/include/v8.h"
210 #include "webkit/child/weburlresponse_extradata_impl.h" 211 #include "webkit/child/weburlresponse_extradata_impl.h"
211 #include "webkit/common/dom_storage/dom_storage_types.h"
212 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" 212 #include "webkit/renderer/appcache/web_application_cache_host_impl.h"
213 #include "webkit/renderer/webpreferences_renderer.h" 213 #include "webkit/renderer/webpreferences_renderer.h"
214 214
215 #if defined(OS_ANDROID) 215 #if defined(OS_ANDROID)
216 #include <cpu-features.h> 216 #include <cpu-features.h>
217 217
218 #include "content/common/android/device_telephony_info.h" 218 #include "content/common/android/device_telephony_info.h"
219 #include "content/common/gpu/client/context_provider_command_buffer.h" 219 #include "content/common/gpu/client/context_provider_command_buffer.h"
220 #include "content/renderer/android/address_detector.h" 220 #include "content/renderer/android/address_detector.h"
221 #include "content/renderer/android/content_detector.h" 221 #include "content/renderer/android/content_detector.h"
(...skipping 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 routing_id_, plugin, active_url, screen_info_); 2241 routing_id_, plugin, active_url, screen_info_);
2242 widget->show(WebKit::WebNavigationPolicyIgnore); 2242 widget->show(WebKit::WebNavigationPolicyIgnore);
2243 return widget; 2243 return widget;
2244 #else // defined(ENABLE_PLUGINS) 2244 #else // defined(ENABLE_PLUGINS)
2245 NOTREACHED() << "CreatePepperFullscreenContainer: plugins disabled"; 2245 NOTREACHED() << "CreatePepperFullscreenContainer: plugins disabled";
2246 return NULL; 2246 return NULL;
2247 #endif 2247 #endif
2248 } 2248 }
2249 2249
2250 WebStorageNamespace* RenderViewImpl::createSessionStorageNamespace() { 2250 WebStorageNamespace* RenderViewImpl::createSessionStorageNamespace() {
2251 CHECK(session_storage_namespace_id_ != 2251 CHECK(session_storage_namespace_id_ != kInvalidSessionStorageNamespaceId);
2252 dom_storage::kInvalidSessionStorageNamespaceId);
2253 return new WebStorageNamespaceImpl(session_storage_namespace_id_); 2252 return new WebStorageNamespaceImpl(session_storage_namespace_id_);
2254 } 2253 }
2255 2254
2256 void RenderViewImpl::didAddMessageToConsole( 2255 void RenderViewImpl::didAddMessageToConsole(
2257 const WebConsoleMessage& message, const WebString& source_name, 2256 const WebConsoleMessage& message, const WebString& source_name,
2258 unsigned source_line) { 2257 unsigned source_line) {
2259 logging::LogSeverity log_severity = logging::LOG_VERBOSE; 2258 logging::LogSeverity log_severity = logging::LOG_VERBOSE;
2260 switch (message.level) { 2259 switch (message.level) {
2261 case WebConsoleMessage::LevelDebug: 2260 case WebConsoleMessage::LevelDebug:
2262 log_severity = logging::LOG_VERBOSE; 2261 log_severity = logging::LOG_VERBOSE;
(...skipping 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after
6335 WebURL url = icon_urls[i].iconURL(); 6334 WebURL url = icon_urls[i].iconURL();
6336 if (!url.isEmpty()) 6335 if (!url.isEmpty())
6337 urls.push_back(FaviconURL(url, 6336 urls.push_back(FaviconURL(url,
6338 ToFaviconType(icon_urls[i].iconType()))); 6337 ToFaviconType(icon_urls[i].iconType())));
6339 } 6338 }
6340 SendUpdateFaviconURL(urls); 6339 SendUpdateFaviconURL(urls);
6341 } 6340 }
6342 6341
6343 6342
6344 } // namespace content 6343 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698