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

Side by Side Diff: webkit/mocks/mock_webframe.cc

Issue 6810037: File API changes needed for safely passing user selected file entities from the file browser comp... (Closed) Base URL: svn://svn.chromium.org/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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "webkit/mocks/mock_webframe.h" 5 #include "webkit/mocks/mock_webframe.h"
6 6
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" 7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
8 8
9 namespace webkit_glue { 9 namespace webkit_glue {
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 v8::Handle<v8::Value> MockWebFrame::executeScriptAndReturnValue( 153 v8::Handle<v8::Value> MockWebFrame::executeScriptAndReturnValue(
154 const WebScriptSource&) { 154 const WebScriptSource&) {
155 return v8::Handle<v8::Value>(); 155 return v8::Handle<v8::Value>();
156 } 156 }
157 157
158 v8::Local<v8::Context> MockWebFrame::mainWorldScriptContext() const { 158 v8::Local<v8::Context> MockWebFrame::mainWorldScriptContext() const {
159 return v8::Local<v8::Context>(); 159 return v8::Local<v8::Context>();
160 } 160 }
161 161
162 v8::Handle<v8::Value> MockWebFrame::createFileSystem( 162 v8::Handle<v8::Value> MockWebFrame::createFileSystem(
163 int type, const WebString& name, const WebString& path) { 163 WebKit::WebFileSystem::Type type, const WebString& name,
164 const WebString& path) {
165 return v8::Handle<v8::Value>();
166 }
167
168 v8::Handle<v8::Value> MockWebFrame::createFileEntry(
169 WebKit::WebFileSystem::Type type, const WebString& fileSystemName,
170 const WebString& fileSystemPath, const WebString& filePath,
171 bool isDirectory) {
164 return v8::Handle<v8::Value>(); 172 return v8::Handle<v8::Value>();
165 } 173 }
166 #endif 174 #endif
167 175
168 176
169 bool MockWebFrame::insertStyleText(const WebString& styleText, 177 bool MockWebFrame::insertStyleText(const WebString& styleText,
170 const WebString& elementId) { 178 const WebString& elementId) {
171 return false; 179 return false;
172 } 180 }
173 181
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 419
412 WebString MockWebFrame::layerTreeAsText(bool showDebugInfo) const { 420 WebString MockWebFrame::layerTreeAsText(bool showDebugInfo) const {
413 return WebString(); 421 return WebString();
414 } 422 }
415 423
416 WebString MockWebFrame::layerTreeAsText() const { 424 WebString MockWebFrame::layerTreeAsText() const {
417 return WebString(); 425 return WebString();
418 } 426 }
419 427
420 } // namespace webkit_glue 428 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698