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

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

Issue 6873014: Clear RenderThread of any Chrome specific code, and move a bunch of stuff out of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/renderer_webidbfactory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/renderer_webapplicationcachehost_impl.h" 5 #include "content/renderer/renderer_webapplicationcachehost_impl.h"
6 6
7 #include "chrome/common/content_settings_types.h"
8 #include "content/common/view_messages.h" 7 #include "content/common/view_messages.h"
9 #include "content/renderer/render_thread.h" 8 #include "content/renderer/render_thread.h"
10 #include "content/renderer/render_view.h" 9 #include "content/renderer/render_view.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
13 12
14 using appcache::AppCacheBackend; 13 using appcache::AppCacheBackend;
15 using WebKit::WebApplicationCacheHostClient; 14 using WebKit::WebApplicationCacheHostClient;
16 using WebKit::WebConsoleMessage; 15 using WebKit::WebConsoleMessage;
17 16
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed( 48 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed(
50 routing_id_, info.manifest_url, false)); 49 routing_id_, info.manifest_url, false));
51 } 50 }
52 WebApplicationCacheHostImpl::OnCacheSelected(info); 51 WebApplicationCacheHostImpl::OnCacheSelected(info);
53 } 52 }
54 53
55 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() { 54 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() {
56 return static_cast<RenderView*> 55 return static_cast<RenderView*>
57 (RenderThread::current()->ResolveRoute(routing_id_)); 56 (RenderThread::current()->ResolveRoute(routing_id_));
58 } 57 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/renderer_webidbfactory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698