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

Side by Side Diff: content/renderer/pepper/resource_converter.cc

Issue 231793004: Update a few more references to WebFrame to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 6 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
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/pepper/resource_converter.h" 5 #include "content/renderer/pepper/resource_converter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/public/renderer/renderer_ppapi_host.h" 9 #include "content/public/renderer/renderer_ppapi_host.h"
10 #include "content/renderer/pepper/pepper_file_system_host.h" 10 #include "content/renderer/pepper/pepper_file_system_host.h"
11 #include "content/renderer/pepper/pepper_media_stream_audio_track_host.h" 11 #include "content/renderer/pepper/pepper_media_stream_audio_track_host.h"
12 #include "content/renderer/pepper/pepper_media_stream_video_track_host.h" 12 #include "content/renderer/pepper/pepper_media_stream_video_track_host.h"
13 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
14 #include "ppapi/host/ppapi_host.h" 14 #include "ppapi/host/ppapi_host.h"
15 #include "ppapi/host/resource_host.h" 15 #include "ppapi/host/resource_host.h"
16 #include "ppapi/proxy/ppapi_messages.h" 16 #include "ppapi/proxy/ppapi_messages.h"
17 #include "ppapi/shared_impl/resource_var.h" 17 #include "ppapi/shared_impl/resource_var.h"
18 #include "ppapi/shared_impl/scoped_pp_var.h" 18 #include "ppapi/shared_impl/scoped_pp_var.h"
19 #include "third_party/WebKit/public/platform/WebFileSystem.h" 19 #include "third_party/WebKit/public/platform/WebFileSystem.h"
20 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 20 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
21 #include "third_party/WebKit/public/web/WebDOMFileSystem.h" 21 #include "third_party/WebKit/public/web/WebDOMFileSystem.h"
22 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h" 22 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h"
23 #include "third_party/WebKit/public/web/WebFrame.h" 23 #include "third_party/WebKit/public/web/WebLocalFrame.h"
24 #include "webkit/common/fileapi/file_system_util.h" 24 #include "webkit/common/fileapi/file_system_util.h"
25 25
26 using ppapi::ResourceVar; 26 using ppapi::ResourceVar;
27 27
28 namespace content { 28 namespace content {
29 namespace { 29 namespace {
30 30
31 void FlushComplete( 31 void FlushComplete(
32 const base::Callback<void(bool)>& callback, 32 const base::Callback<void(bool)>& callback,
33 const std::vector<scoped_refptr<content::HostResourceVar> >& browser_vars, 33 const std::vector<scoped_refptr<content::HostResourceVar> >& browser_vars,
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 const IPC::Message& create_message, 314 const IPC::Message& create_message,
315 const IPC::Message& browser_host_create_message) { 315 const IPC::Message& browser_host_create_message) {
316 scoped_refptr<HostResourceVar> result = 316 scoped_refptr<HostResourceVar> result =
317 CreateResourceVar(pending_renderer_id, create_message); 317 CreateResourceVar(pending_renderer_id, create_message);
318 browser_host_create_messages_.push_back(browser_host_create_message); 318 browser_host_create_messages_.push_back(browser_host_create_message);
319 browser_vars.push_back(result); 319 browser_vars.push_back(result);
320 return result; 320 return result;
321 } 321 }
322 322
323 } // namespace content 323 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | content/renderer/savable_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698