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

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

Issue 14424007: Use the default theme as the fallback UI in Blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed static initializer Created 7 years, 7 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 | « ui/native_theme/native_theme_aura.cc ('k') | webkit/glue/webfallbackthemeengine_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_WEBFALLBACKTHEMEENGINE_IMPL_H_
6 #define WEBKIT_GLUE_WEBFALLBACKTHEMEENGINE_IMPL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFallbackThemeEng ine.h"
10
11 namespace ui {
12 class FallbackTheme;
13 }
14
15 namespace webkit_glue {
16
17 class WebFallbackThemeEngineImpl : public WebKit::WebFallbackThemeEngine {
18 public:
19 WebFallbackThemeEngineImpl();
20 virtual ~WebFallbackThemeEngineImpl();
21
22 // WebFallbackThemeEngine methods:
23 virtual WebKit::WebSize getSize(WebKit::WebFallbackThemeEngine::Part);
24 virtual void paint(
25 WebKit::WebCanvas* canvas,
26 WebKit::WebFallbackThemeEngine::Part part,
27 WebKit::WebFallbackThemeEngine::State state,
28 const WebKit::WebRect& rect,
29 const WebKit::WebFallbackThemeEngine::ExtraParams* extra_params);
30
31 private:
32 scoped_ptr<ui::FallbackTheme> theme_;
33
34 DISALLOW_COPY_AND_ASSIGN(WebFallbackThemeEngineImpl);
35 };
36
37 } // namespace webkit_glue
38
39 #endif // WEBKIT_GLUE_WEBFALLBACKTHEMEENGINE_IMPL_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | webkit/glue/webfallbackthemeengine_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698