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

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

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years 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 | « webkit/glue/webkit_glue_export.h ('k') | webkit/glue/webmenuitem.h » ('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) 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_PLATFORM_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_
6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "base/platform_file.h" 9 #include "base/platform_file.h"
9 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
10 #include "base/timer.h" 11 #include "base/timer.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitPlatformSupport .h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitPlatformSupport .h"
12 #include "webkit/glue/resource_loader_bridge.h" 13 #include "webkit/glue/resource_loader_bridge.h"
14 #include "webkit/glue/webkit_glue_export.h"
15
13 #if defined(OS_WIN) 16 #if defined(OS_WIN)
14 #include "webkit/glue/webthemeengine_impl_win.h" 17 #include "webkit/glue/webthemeengine_impl_win.h"
15 #elif defined(OS_MACOSX) 18 #elif defined(OS_MACOSX)
16 #include "webkit/glue/webthemeengine_impl_mac.h" 19 #include "webkit/glue/webthemeengine_impl_mac.h"
17 #elif defined(OS_POSIX) 20 #elif defined(OS_POSIX)
18 #include "webkit/glue/webthemeengine_impl_linux.h" 21 #include "webkit/glue/webthemeengine_impl_linux.h"
19 #endif 22 #endif
20 23
21 24
22 class MessageLoop; 25 class MessageLoop;
23 26
24 namespace webkit { 27 namespace webkit {
25 struct WebPluginInfo; 28 struct WebPluginInfo;
26 } 29 }
27 30
28 namespace WebKit { 31 namespace WebKit {
29 class WebSocketStreamHandle; 32 class WebSocketStreamHandle;
30 } 33 }
31 34
32 namespace webkit_glue { 35 namespace webkit_glue {
33 36
34 class WebSocketStreamHandleDelegate; 37 class WebSocketStreamHandleDelegate;
35 class WebSocketStreamHandleBridge; 38 class WebSocketStreamHandleBridge;
36 39
37 class WebKitPlatformSupportImpl : public WebKit::WebKitPlatformSupport { 40 class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
41 NON_EXPORTED_BASE(public WebKit::WebKitPlatformSupport) {
38 public: 42 public:
39 WebKitPlatformSupportImpl(); 43 WebKitPlatformSupportImpl();
40 virtual ~WebKitPlatformSupportImpl(); 44 virtual ~WebKitPlatformSupportImpl();
41 45
42 // WebKitPlatformSupport methods (partial implementation): 46 // WebKitPlatformSupport methods (partial implementation):
43 virtual WebKit::WebThemeEngine* themeEngine(); 47 virtual WebKit::WebThemeEngine* themeEngine();
44 48
45 virtual base::PlatformFile databaseOpenFile( 49 virtual base::PlatformFile databaseOpenFile(
46 const WebKit::WebString& vfs_file_name, int desired_flags); 50 const WebKit::WebString& vfs_file_name, int desired_flags);
47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, 51 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void (*shared_timer_func_)(); 136 void (*shared_timer_func_)();
133 double shared_timer_fire_time_; 137 double shared_timer_fire_time_;
134 int shared_timer_suspended_; // counter 138 int shared_timer_suspended_; // counter
135 WebThemeEngineImpl theme_engine_; 139 WebThemeEngineImpl theme_engine_;
136 base::ThreadLocalStorage::Slot current_thread_slot_; 140 base::ThreadLocalStorage::Slot current_thread_slot_;
137 }; 141 };
138 142
139 } // namespace webkit_glue 143 } // namespace webkit_glue
140 144
141 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 145 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue_export.h ('k') | webkit/glue/webmenuitem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698