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

Side by Side Diff: chrome/renderer/extensions/media_galleries_custom_bindings.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 (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 "chrome/renderer/extensions/media_galleries_custom_bindings.h" 5 #include "chrome/renderer/extensions/media_galleries_custom_bindings.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/common/extensions/extension_constants.h" 9 #include "chrome/common/extensions/extension_constants.h"
10 #include "third_party/WebKit/public/web/WebDOMFileSystem.h" 10 #include "third_party/WebKit/public/web/WebDOMFileSystem.h"
11 #include "third_party/WebKit/public/web/WebDocument.h" 11 #include "third_party/WebKit/public/web/WebDocument.h"
12 #include "third_party/WebKit/public/web/WebFrame.h" 12 #include "third_party/WebKit/public/web/WebLocalFrame.h"
13 #include "v8/include/v8.h" 13 #include "v8/include/v8.h"
14 #include "webkit/common/fileapi/file_system_util.h" 14 #include "webkit/common/fileapi/file_system_util.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 namespace { 18 namespace {
19 19
20 // FileSystemObject GetMediaFileSystem(string file_system_url): construct 20 // FileSystemObject GetMediaFileSystem(string file_system_url): construct
21 // a file system object from a file system url. 21 // a file system object from a file system url.
22 void GetMediaFileSystemObject(const v8::FunctionCallbackInfo<v8::Value>& args) { 22 void GetMediaFileSystemObject(const v8::FunctionCallbackInfo<v8::Value>& args) {
(...skipping 22 matching lines...) Expand all
45 } // namespace 45 } // namespace
46 46
47 MediaGalleriesCustomBindings::MediaGalleriesCustomBindings( 47 MediaGalleriesCustomBindings::MediaGalleriesCustomBindings(
48 Dispatcher* dispatcher, ChromeV8Context* context) 48 Dispatcher* dispatcher, ChromeV8Context* context)
49 : ChromeV8Extension(dispatcher, context) { 49 : ChromeV8Extension(dispatcher, context) {
50 RouteFunction("GetMediaFileSystemObject", 50 RouteFunction("GetMediaFileSystemObject",
51 base::Bind(&GetMediaFileSystemObject)); 51 base::Bind(&GetMediaFileSystemObject));
52 } 52 }
53 53
54 } // namespace extensions 54 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/file_system_natives.cc ('k') | chrome/renderer/extensions/sync_file_system_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698