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

Unified Diff: webkit/glue/webkitclient_impl.h

Issue 350003: Flesh out more of ChromiumBridge.cpp eliminating all but two methods on... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/WebViewImpl.cpp ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitclient_impl.h
===================================================================
--- webkit/glue/webkitclient_impl.h (revision 30581)
+++ webkit/glue/webkitclient_impl.h (working copy)
@@ -22,6 +22,37 @@
// WebKitClient methods (partial implementation):
virtual WebKit::WebThemeEngine* themeEngine();
+ virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
+ WebKit::WebApplicationCacheHostClient*);
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
+ const WebKit::WebString& path, unsigned quota);
+ virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
+ virtual void dispatchStorageEvent(const WebKit::WebString& key,
+ const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
+ const WebKit::WebString& origin, bool isLocalStorage);
+ virtual bool fileExists(const WebKit::WebString& path);
+ virtual bool deleteFile(const WebKit::WebString& path);
+ virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
+ virtual bool getFileSize(const WebKit::WebString& path, long long& result);
+ virtual bool getFileModificationTime(
+ const WebKit::WebString& path, time_t& result);
+ virtual WebKit::WebString directoryName(const WebKit::WebString& path);
+ virtual WebKit::WebString pathByAppendingComponent(
+ const WebKit::WebString& path, const WebKit::WebString& component);
+ virtual bool makeAllDirectories(const WebKit::WebString& path);
+ virtual WebKit::WebString getAbsolutePath(const WebKit::WebString& path);
+ virtual bool isDirectory(const WebKit::WebString& path);
+ virtual WebKit::WebURL filePathToURL(const WebKit::WebString& path);
+ virtual base::PlatformFile databaseOpenFile(
+ const WebKit::WebString& file_name, int desired_flags,
+ base::PlatformFile* dir_handle);
+ virtual int databaseDeleteFile(const WebKit::WebString& file_name,
+ bool sync_dir);
+ virtual long databaseGetFileAttributes(const WebKit::WebString& file_name);
+ virtual long long databaseGetFileSize(const WebKit::WebString& file_name);
+ virtual WebKit::WebString signedPublicKeyAndChallengeString(
+ unsigned key_size_index, const WebKit::WebString& challenge,
+ const WebKit::WebURL& url);
virtual bool rawCookies(const WebKit::WebURL& url,
const WebKit::WebURL& policy_url,
WebKit::WebVector<WebKit::WebCookie>*);
@@ -29,6 +60,7 @@
const WebKit::WebString& cookie_name);
virtual WebKit::WebURLLoader* createURLLoader();
virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
+ virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
virtual void decrementStatsCounter(const char* name);
virtual void incrementStatsCounter(const char* name);
@@ -39,67 +71,18 @@
WebKit::WebLocalizedString::Name name);
virtual WebKit::WebString queryLocalizedString(
WebKit::WebLocalizedString::Name name, int numeric_value);
+ virtual void suddenTerminationChanged(bool enabled) { }
virtual double currentTime();
virtual void setSharedTimerFiredFunction(void (*func)());
virtual void setSharedTimerFireTime(double fireTime);
virtual void stopSharedTimer();
virtual void callOnMainThread(void (*func)());
- virtual void suddenTerminationChanged(bool enabled) { }
- virtual void dispatchStorageEvent(const WebKit::WebString& key,
- const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
- const WebKit::WebString& origin, bool isLocalStorage);
- virtual base::PlatformFile databaseOpenFile(
- const WebKit::WebString& file_name, int desired_flags,
- base::PlatformFile* dir_handle);
- virtual int databaseDeleteFile(const WebKit::WebString& file_name,
- bool sync_dir);
- virtual long databaseGetFileAttributes(const WebKit::WebString& file_name);
- virtual long long databaseGetFileSize(const WebKit::WebString& file_name);
-
- virtual WebKit::WebString signedPublicKeyAndChallengeString(
- unsigned key_size_index, const WebKit::WebString& challenge,
- const WebKit::WebURL& url);
-
- virtual bool fileExists(const WebKit::WebString& path);
- virtual bool deleteFile(const WebKit::WebString& path);
- virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
- virtual bool getFileSize(const WebKit::WebString& path, long long& result);
- virtual bool getFileModificationTime(const WebKit::WebString& path,
- time_t& result);
- virtual WebKit::WebString directoryName(const WebKit::WebString& path);
- virtual WebKit::WebString pathByAppendingComponent(
- const WebKit::WebString& path, const WebKit::WebString& component);
- virtual bool makeAllDirectories(const WebKit::WebString& path);
- virtual WebKit::WebString getAbsolutePath(const WebKit::WebString& path);
- virtual bool isDirectory(const WebKit::WebString& path);
- virtual WebKit::WebURL filePathToURL(const WebKit::WebString& path);
-
- virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
- WebKit::WebApplicationCacheHostClient*);
-
// These are temporary methods that the WebKit layer can use to call to the
// Glue layer. Once the Glue layer moves entirely into the WebKit layer,
// these methods will be deleted.
- virtual WebKit::WebMediaPlayer* createWebMediaPlayer(
- WebKit::WebMediaPlayerClient*, WebCore::Frame*);
- virtual void setCursorForPlugin(
- const WebKit::WebCursorInfo&, WebCore::Frame*);
virtual WebCore::String uiResourceProtocol();
- virtual void notifyJSOutOfMemory(WebCore::Frame*);
- virtual int screenDepth(WebCore::Widget*);
- virtual int screenDepthPerComponent(WebCore::Widget*);
- virtual bool screenIsMonochrome(WebCore::Widget*);
- virtual WebCore::IntRect screenRect(WebCore::Widget*);
- virtual WebCore::IntRect screenAvailableRect(WebCore::Widget*);
virtual bool popupsAllowed(NPP);
- virtual void widgetSetCursor(WebCore::Widget*, const WebCore::Cursor&);
- virtual void widgetSetFocus(WebCore::Widget*);
- virtual WebCore::WorkerContextProxy* createWorkerContextProxy(
- WebCore::Worker* worker);
- virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota);
- virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
private:
void DoTimeout() {
« no previous file with comments | « webkit/api/src/WebViewImpl.cpp ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698