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

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

Issue 22410007: Move appcache_frontend_impl.* to content/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "content/child/appcache_dispatcher.h" 9 #include "content/child/appcache_dispatcher.h"
10 #include "content/child/fileapi/file_system_dispatcher.h" 10 #include "content/child/fileapi/file_system_dispatcher.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 using WebKit::WebSecurityOrigin; 59 using WebKit::WebSecurityOrigin;
60 using WebKit::WebStorageQuotaCallbacks; 60 using WebKit::WebStorageQuotaCallbacks;
61 using WebKit::WebString; 61 using WebKit::WebString;
62 using WebKit::WebURL; 62 using WebKit::WebURL;
63 using WebKit::WebURLError; 63 using WebKit::WebURLError;
64 using WebKit::WebURLRequest; 64 using WebKit::WebURLRequest;
65 using WebKit::WebURLResponse; 65 using WebKit::WebURLResponse;
66 using WebKit::WebUserGestureIndicator; 66 using WebKit::WebUserGestureIndicator;
67 using WebKit::WebVector; 67 using WebKit::WebVector;
68 using WebKit::WebView; 68 using WebKit::WebView;
69
70 using appcache::WebApplicationCacheHostImpl;
71 using base::Time; 69 using base::Time;
72 using base::TimeDelta; 70 using base::TimeDelta;
73
74 using webkit_glue::WebURLResponseExtraDataImpl; 71 using webkit_glue::WebURLResponseExtraDataImpl;
75 72
76 namespace content { 73 namespace content {
77 74
78 static RenderFrameImpl* (*g_create_render_frame_impl)(RenderViewImpl*, int32) = 75 static RenderFrameImpl* (*g_create_render_frame_impl)(RenderViewImpl*, int32) =
79 NULL; 76 NULL;
80 77
81 // static 78 // static
82 RenderFrameImpl* RenderFrameImpl::Create( 79 RenderFrameImpl* RenderFrameImpl::Create(RenderViewImpl* render_view,
83 RenderViewImpl* render_view, 80 int32 routing_id) {
84 int32 routing_id) {
85 DCHECK(routing_id != MSG_ROUTING_NONE); 81 DCHECK(routing_id != MSG_ROUTING_NONE);
86 82
87 RenderFrameImpl* render_frame = NULL; 83 RenderFrameImpl* render_frame = NULL;
88 if (g_create_render_frame_impl) 84 if (g_create_render_frame_impl)
89 render_frame = g_create_render_frame_impl(render_view, routing_id); 85 render_frame = g_create_render_frame_impl(render_view, routing_id);
90 else 86 else
91 render_frame = new RenderFrameImpl(render_view, routing_id); 87 render_frame = new RenderFrameImpl(render_view, routing_id);
92 88
93 return render_frame; 89 return render_frame;
94 } 90 }
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 892
897 void RenderFrameImpl::didLoseWebGLContext(WebKit::WebFrame* frame, 893 void RenderFrameImpl::didLoseWebGLContext(WebKit::WebFrame* frame,
898 int arb_robustness_status_code) { 894 int arb_robustness_status_code) {
899 Send(new ViewHostMsg_DidLose3DContext( 895 Send(new ViewHostMsg_DidLose3DContext(
900 GURL(frame->top()->document().securityOrigin().toString()), 896 GURL(frame->top()->document().securityOrigin().toString()),
901 THREE_D_API_TYPE_WEBGL, 897 THREE_D_API_TYPE_WEBGL,
902 arb_robustness_status_code)); 898 arb_robustness_status_code));
903 } 899 }
904 900
905 } // namespace content 901 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698