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

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: add export macros for Mac and Android 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
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/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/WebFallbackThemeEngine.h" 9 #include "third_party/WebKit/public/platform/WebFallbackThemeEngine.h"
10 #include "webkit/child/webkit_child_export.h"
10 11
11 namespace ui { 12 namespace ui {
12 class FallbackTheme; 13 class FallbackTheme;
13 } 14 }
14 15
15 namespace webkit_glue { 16 namespace webkit_glue {
16 17
17 class WebFallbackThemeEngineImpl : public blink::WebFallbackThemeEngine { 18 class WEBKIT_CHILD_EXPORT WebFallbackThemeEngineImpl :
19 public blink::WebFallbackThemeEngine {
darin (slow to review) 2014/01/29 17:58:11 nit: 4 space indent
18 public: 20 public:
19 WebFallbackThemeEngineImpl(); 21 WebFallbackThemeEngineImpl();
20 virtual ~WebFallbackThemeEngineImpl(); 22 virtual ~WebFallbackThemeEngineImpl();
21 23
22 // WebFallbackThemeEngine methods: 24 // WebFallbackThemeEngine methods:
23 virtual blink::WebSize getSize(blink::WebFallbackThemeEngine::Part); 25 virtual blink::WebSize getSize(blink::WebFallbackThemeEngine::Part);
24 virtual void paint( 26 virtual void paint(
25 blink::WebCanvas* canvas, 27 blink::WebCanvas* canvas,
26 blink::WebFallbackThemeEngine::Part part, 28 blink::WebFallbackThemeEngine::Part part,
27 blink::WebFallbackThemeEngine::State state, 29 blink::WebFallbackThemeEngine::State state,
28 const blink::WebRect& rect, 30 const blink::WebRect& rect,
29 const blink::WebFallbackThemeEngine::ExtraParams* extra_params); 31 const blink::WebFallbackThemeEngine::ExtraParams* extra_params);
30 32
31 private: 33 private:
32 scoped_ptr<ui::FallbackTheme> theme_; 34 scoped_ptr<ui::FallbackTheme> theme_;
33 35
34 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl); 36 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl);
35 }; 37 };
36 38
37 } // namespace webkit_glue 39 } // namespace webkit_glue
38 40
39 #endif // WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ 41 #endif // WEBKIT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698