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

Side by Side Diff: content/child/webkitplatformsupport_child_impl.h

Issue 185553014: Revert "Revert 254514 "Revert 254507 "Reland "Move WebKitPlatformSupport..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/webkitplatformsupport_impl.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 2014 The Chromium Authors. All rights reserved. 1 // // Copyright 2014 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 CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
6 #define CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 6 #define CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
7 7
8 #include "base/threading/thread_local_storage.h" 8 #include "base/threading/thread_local_storage.h"
9 #include "content/child/blink_platform_impl.h"
10 #include "content/child/webfallbackthemeengine_impl.h" 9 #include "content/child/webfallbackthemeengine_impl.h"
11 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "webkit/child/webkit_child_export.h"
12 #include "webkit/child/webkitplatformsupport_impl.h"
12 13
13 #if defined(USE_DEFAULT_RENDER_THEME) 14 #if defined(USE_DEFAULT_RENDER_THEME)
14 #include "content/child/webthemeengine_impl_default.h" 15 #include "content/child/webthemeengine_impl_default.h"
15 #elif defined(OS_WIN) 16 #elif defined(OS_WIN)
16 #include "content/child/webthemeengine_impl_win.h" 17 #include "content/child/webthemeengine_impl_win.h"
17 #elif defined(OS_MACOSX) 18 #elif defined(OS_MACOSX)
18 #include "content/child/webthemeengine_impl_mac.h" 19 #include "content/child/webthemeengine_impl_mac.h"
19 #elif defined(OS_ANDROID) 20 #elif defined(OS_ANDROID)
20 #include "content/child/webthemeengine_impl_android.h" 21 #include "content/child/webthemeengine_impl_android.h"
21 #endif 22 #endif
22 23
23 namespace content { 24 namespace content {
24 25
25 class FlingCurveConfiguration; 26 class FlingCurveConfiguration;
26 27
27 class CONTENT_EXPORT WebKitPlatformSupportChildImpl : public BlinkPlatformImpl { 28 class CONTENT_EXPORT WebKitPlatformSupportChildImpl :
29 public webkit_glue::WebKitPlatformSupportImpl {
28 public: 30 public:
29 WebKitPlatformSupportChildImpl(); 31 WebKitPlatformSupportChildImpl();
30 virtual ~WebKitPlatformSupportChildImpl(); 32 virtual ~WebKitPlatformSupportChildImpl();
31 33
32 // Platform methods (partial implementation): 34 // Platform methods (partial implementation):
33 virtual blink::WebThemeEngine* themeEngine(); 35 virtual blink::WebThemeEngine* themeEngine();
34 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); 36 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine();
35 37
36 void SetFlingCurveParameters( 38 void SetFlingCurveParameters(
37 const std::vector<float>& new_touchpad, 39 const std::vector<float>& new_touchpad,
(...skipping 24 matching lines...) Expand all
62 64
63 WebThemeEngineImpl native_theme_engine_; 65 WebThemeEngineImpl native_theme_engine_;
64 WebFallbackThemeEngineImpl fallback_theme_engine_; 66 WebFallbackThemeEngineImpl fallback_theme_engine_;
65 base::ThreadLocalStorage::Slot current_thread_slot_; 67 base::ThreadLocalStorage::Slot current_thread_slot_;
66 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; 68 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
67 }; 69 };
68 70
69 } // namespace content 71 } // namespace content
70 72
71 #endif // CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 73 #endif // CONTENT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698