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

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

Issue 1600002: Indicate in the tab UI if appcache creation was blocked by privacy settings. (Closed)
Patch Set: updates Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_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 "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" 10 #include "third_party/WebKit/WebKit/chromium/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 virtual ~WebKitClientImpl() {} 22 virtual ~WebKitClientImpl() {}
23 23
24 // WebKitClient methods (partial implementation): 24 // WebKitClient methods (partial implementation):
25 virtual WebKit::WebThemeEngine* themeEngine(); 25 virtual WebKit::WebThemeEngine* themeEngine();
26 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
27 WebKit::WebApplicationCacheHostClient*);
28 virtual bool fileExists(const WebKit::WebString& path); 26 virtual bool fileExists(const WebKit::WebString& path);
29 virtual bool deleteFile(const WebKit::WebString& path); 27 virtual bool deleteFile(const WebKit::WebString& path);
30 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); 28 virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
31 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 29 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
32 virtual bool getFileModificationTime( 30 virtual bool getFileModificationTime(
33 const WebKit::WebString& path, 31 const WebKit::WebString& path,
34 double& result); 32 double& result);
35 virtual WebKit::WebString directoryName(const WebKit::WebString& path); 33 virtual WebKit::WebString directoryName(const WebKit::WebString& path);
36 virtual WebKit::WebString pathByAppendingComponent( 34 virtual WebKit::WebString pathByAppendingComponent(
37 const WebKit::WebString& path, const WebKit::WebString& component); 35 const WebKit::WebString& path, const WebKit::WebString& component);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 int shared_timer_suspended_; // counter 86 int shared_timer_suspended_; // counter
89 87
90 #if defined(OS_WIN) 88 #if defined(OS_WIN)
91 WebThemeEngineImpl theme_engine_; 89 WebThemeEngineImpl theme_engine_;
92 #endif 90 #endif
93 }; 91 };
94 92
95 } // namespace webkit_glue 93 } // namespace webkit_glue
96 94
97 #endif // WEBKIT_CLIENT_IMPL_H_ 95 #endif // WEBKIT_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698