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

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

Issue 6721021: Move a bunch of renderer->browser messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 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" 7 #include "chrome/common/content_settings_types.h"
8 #include "chrome/common/render_messages.h"
9 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "content/common/view_messages.h"
10 #include "content/renderer/render_view.h" 10 #include "content/renderer/render_view.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
13 13
14 using appcache::AppCacheBackend; 14 using appcache::AppCacheBackend;
15 using WebKit::WebApplicationCacheHostClient; 15 using WebKit::WebApplicationCacheHostClient;
16 using WebKit::WebConsoleMessage; 16 using WebKit::WebConsoleMessage;
17 17
18 RendererWebApplicationCacheHostImpl::RendererWebApplicationCacheHostImpl( 18 RendererWebApplicationCacheHostImpl::RendererWebApplicationCacheHostImpl(
19 RenderView* render_view, 19 RenderView* render_view,
(...skipping 29 matching lines...) Expand all
49 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed( 49 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed(
50 routing_id_, info.manifest_url, false)); 50 routing_id_, info.manifest_url, false));
51 } 51 }
52 WebApplicationCacheHostImpl::OnCacheSelected(info); 52 WebApplicationCacheHostImpl::OnCacheSelected(info);
53 } 53 }
54 54
55 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() { 55 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() {
56 return static_cast<RenderView*> 56 return static_cast<RenderView*>
57 (RenderThread::current()->ResolveRoute(routing_id_)); 57 (RenderThread::current()->ResolveRoute(routing_id_));
58 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698