OLD | NEW |
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_WEBFALLBACKTHEMEENGINE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ |
6 #define CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ | 6 #define CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ |
7 | 7 |
| 8 #include "base/macros.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" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 // This theme should only be used in layout tests in cases the mock theme can't | 14 // This theme should only be used in layout tests in cases the mock theme can't |
14 // handle (such as zoomed controls). | 15 // handle (such as zoomed controls). |
15 class WebFallbackThemeEngineImpl : public blink::WebFallbackThemeEngine { | 16 class WebFallbackThemeEngineImpl : public blink::WebFallbackThemeEngine { |
16 public: | 17 public: |
17 WebFallbackThemeEngineImpl(); | 18 WebFallbackThemeEngineImpl(); |
(...skipping 11 matching lines...) Expand all Loading... |
29 private: | 30 private: |
30 class WebFallbackNativeTheme; | 31 class WebFallbackNativeTheme; |
31 scoped_ptr<WebFallbackNativeTheme> theme_; | 32 scoped_ptr<WebFallbackNativeTheme> theme_; |
32 | 33 |
33 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl); | 34 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace content | 37 } // namespace content |
37 | 38 |
38 #endif // CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ | 39 #endif // CONTENT_CHILD_WEBFALLBACKTHEMEENGINE_IMPL_H_ |
OLD | NEW |