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

Side by Side Diff: webkit/child/webfallbackthemeengine_impl.h

Issue 148333009: Move webkit/child/webkitplatformsupport_child_impl to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for Windows and Android builds, plus fix nits Created 6 years, 10 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 | « webkit/child/fling_curve_configuration.h ('k') | webkit/child/webkit_child.gyp » ('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_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ 5 #ifndef WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
6 #define WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ 6 #define WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/WebFallbackThemeEngine.h" 10 #include "third_party/WebKit/public/platform/WebFallbackThemeEngine.h"
11 #include "webkit/child/webkit_child_export.h"
10 12
11 namespace ui { 13 namespace ui {
12 class FallbackTheme; 14 class FallbackTheme;
13 } 15 }
14 16
15 namespace webkit_glue { 17 namespace webkit_glue {
16 18
17 class WebFallbackThemeEngineImpl : public blink::WebFallbackThemeEngine { 19 class WEBKIT_CHILD_EXPORT WebFallbackThemeEngineImpl :
20 NON_EXPORTED_BASE(public blink::WebFallbackThemeEngine) {
18 public: 21 public:
19 WebFallbackThemeEngineImpl(); 22 WebFallbackThemeEngineImpl();
20 virtual ~WebFallbackThemeEngineImpl(); 23 virtual ~WebFallbackThemeEngineImpl();
21 24
22 // WebFallbackThemeEngine methods: 25 // WebFallbackThemeEngine methods:
23 virtual blink::WebSize getSize(blink::WebFallbackThemeEngine::Part); 26 virtual blink::WebSize getSize(blink::WebFallbackThemeEngine::Part);
24 virtual void paint( 27 virtual void paint(
25 blink::WebCanvas* canvas, 28 blink::WebCanvas* canvas,
26 blink::WebFallbackThemeEngine::Part part, 29 blink::WebFallbackThemeEngine::Part part,
27 blink::WebFallbackThemeEngine::State state, 30 blink::WebFallbackThemeEngine::State state,
28 const blink::WebRect& rect, 31 const blink::WebRect& rect,
29 const blink::WebFallbackThemeEngine::ExtraParams* extra_params); 32 const blink::WebFallbackThemeEngine::ExtraParams* extra_params);
30 33
31 private: 34 private:
32 scoped_ptr<ui::FallbackTheme> theme_; 35 scoped_ptr<ui::FallbackTheme> theme_;
33 36
34 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl); 37 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl);
35 }; 38 };
36 39
37 } // namespace webkit_glue 40 } // namespace webkit_glue
38 41
39 #endif // WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ 42 #endif // WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/child/fling_curve_configuration.h ('k') | webkit/child/webkit_child.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698