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

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

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

Powered by Google App Engine
This is Rietveld 408576698