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

Side by Side Diff: webkit/glue/webkitclient_impl.h

Issue 348071: First half of http://codereview.chromium.org/274014/show... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef WEBKIT_CLIENT_IMPL_H_ 5 #ifndef WEBKIT_CLIENT_IMPL_H_
6 #define WEBKIT_CLIENT_IMPL_H_ 6 #define WEBKIT_CLIENT_IMPL_H_
7 7
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "base/timer.h" 9 #include "base/timer.h"
10 #include "webkit/api/public/WebKitClient.h" 10 #include "webkit/api/public/WebKitClient.h"
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include "webkit/glue/webthemeengine_impl_win.h" 12 #include "webkit/glue/webthemeengine_impl_win.h"
13 #endif 13 #endif
14 14
15 class MessageLoop; 15 class MessageLoop;
16 16
17 namespace webkit_glue { 17 namespace webkit_glue {
18 18
19 class WebKitClientImpl : public WebKit::WebKitClient { 19 class WebKitClientImpl : public WebKit::WebKitClient {
20 public: 20 public:
21 WebKitClientImpl(); 21 WebKitClientImpl();
22 22
23 // WebKitClient methods (partial implementation): 23 // WebKitClient methods (partial implementation):
24 virtual WebKit::WebThemeEngine* themeEngine(); 24 virtual WebKit::WebThemeEngine* themeEngine();
25 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 25 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
26 WebKit::WebApplicationCacheHostClient*); 26 WebKit::WebApplicationCacheHostClient*);
27 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
28 const WebKit::WebString& path, unsigned quota);
29 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
30 virtual void dispatchStorageEvent(const WebKit::WebString& key,
31 const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
32 const WebKit::WebString& origin, bool isLocalStorage);
33 virtual bool fileExists(const WebKit::WebString& path); 27 virtual bool fileExists(const WebKit::WebString& path);
34 virtual bool deleteFile(const WebKit::WebString& path); 28 virtual bool deleteFile(const WebKit::WebString& path);
35 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); 29 virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
36 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 30 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
37 virtual bool getFileModificationTime( 31 virtual bool getFileModificationTime(
38 const WebKit::WebString& path, time_t& result); 32 const WebKit::WebString& path, time_t& result);
39 virtual WebKit::WebString directoryName(const WebKit::WebString& path); 33 virtual WebKit::WebString directoryName(const WebKit::WebString& path);
40 virtual WebKit::WebString pathByAppendingComponent( 34 virtual WebKit::WebString pathByAppendingComponent(
41 const WebKit::WebString& path, const WebKit::WebString& component); 35 const WebKit::WebString& path, const WebKit::WebString& component);
42 virtual bool makeAllDirectories(const WebKit::WebString& path); 36 virtual bool makeAllDirectories(const WebKit::WebString& path);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void (*shared_timer_func_)(); 84 void (*shared_timer_func_)();
91 85
92 #if defined(OS_WIN) 86 #if defined(OS_WIN)
93 WebThemeEngineImpl theme_engine_; 87 WebThemeEngineImpl theme_engine_;
94 #endif 88 #endif
95 }; 89 };
96 90
97 } // namespace webkit_glue 91 } // namespace webkit_glue
98 92
99 #endif // WEBKIT_CLIENT_IMPL_H_ 93 #endif // WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698