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

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

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 #ifndef WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 5 #ifndef WEBKIT_MOCKS_MOCK_WEBFRAME_H_
6 #define WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 6 #define WEBKIT_MOCKS_MOCK_WEBFRAME_H_
7 7
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void executeScriptInIsolatedWorld( 111 virtual void executeScriptInIsolatedWorld(
112 int worldId, const WebScriptSource* sources, unsigned numSources, 112 int worldId, const WebScriptSource* sources, unsigned numSources,
113 int extensionGroup); 113 int extensionGroup);
114 virtual void addMessageToConsole(const WebConsoleMessage&); 114 virtual void addMessageToConsole(const WebConsoleMessage&);
115 virtual void collectGarbage(); 115 virtual void collectGarbage();
116 #if WEBKIT_USING_V8 116 #if WEBKIT_USING_V8
117 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( 117 virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
118 const WebScriptSource&); 118 const WebScriptSource&);
119 virtual v8::Local<v8::Context> mainWorldScriptContext() const; 119 virtual v8::Local<v8::Context> mainWorldScriptContext() const;
120 virtual v8::Handle<v8::Value> createFileSystem( 120 virtual v8::Handle<v8::Value> createFileSystem(
121 int type, const WebString& name, const WebString& path); 121 WebKit::WebFileSystem::Type type, const WebString& name,
122 const WebString& path);
123 virtual v8::Handle<v8::Value> createFileEntry(
124 WebKit::WebFileSystem::Type type, const WebString& fileSystemName,
125 const WebString& fileSystemPath, const WebString& filePath,
126 bool isDirectory);
122 #endif 127 #endif
123 virtual bool insertStyleText(const WebString& styleText, 128 virtual bool insertStyleText(const WebString& styleText,
124 const WebString& elementId); 129 const WebString& elementId);
125 virtual void reload(bool ignoreCache = false); 130 virtual void reload(bool ignoreCache = false);
126 virtual void loadRequest(const WebURLRequest&); 131 virtual void loadRequest(const WebURLRequest&);
127 virtual void loadHistoryItem(const WebHistoryItem&); 132 virtual void loadHistoryItem(const WebHistoryItem&);
128 virtual void loadData(const WebData& data, 133 virtual void loadData(const WebData& data,
129 const WebString& mimeType, 134 const WebString& mimeType,
130 const WebString& textEncoding, 135 const WebString& textEncoding,
131 const WebURL& baseURL, 136 const WebURL& baseURL,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 virtual WebString layerTreeAsText(bool showDebugInfo) const; 230 virtual WebString layerTreeAsText(bool showDebugInfo) const;
226 virtual WebString layerTreeAsText() const; 231 virtual WebString layerTreeAsText() const;
227 232
228 private: 233 private:
229 DISALLOW_COPY_AND_ASSIGN(MockWebFrame); 234 DISALLOW_COPY_AND_ASSIGN(MockWebFrame);
230 }; 235 };
231 236
232 } // namespace webkit_glue 237 } // namespace webkit_glue
233 238
234 #endif // WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 239 #endif // WEBKIT_MOCKS_MOCK_WEBFRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698