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

Side by Side Diff: mojo/services/html_viewer/webthemeengine_impl.h

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 years, 5 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 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 MOJO_EXAMPLES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_
6 #define MOJO_EXAMPLES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_
7 7
8 #include "third_party/WebKit/public/platform/WebThemeEngine.h" 8 #include "third_party/WebKit/public/platform/WebThemeEngine.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace examples { 11 namespace examples {
12 12
13 class WebThemeEngineImpl : public blink::WebThemeEngine { 13 class WebThemeEngineImpl : public blink::WebThemeEngine {
14 public: 14 public:
15 // WebThemeEngine methods: 15 // WebThemeEngine methods:
16 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); 16 virtual blink::WebSize getSize(blink::WebThemeEngine::Part);
17 virtual void paint( 17 virtual void paint(
18 blink::WebCanvas* canvas, 18 blink::WebCanvas* canvas,
19 blink::WebThemeEngine::Part part, 19 blink::WebThemeEngine::Part part,
20 blink::WebThemeEngine::State state, 20 blink::WebThemeEngine::State state,
21 const blink::WebRect& rect, 21 const blink::WebRect& rect,
22 const blink::WebThemeEngine::ExtraParams* extra_params); 22 const blink::WebThemeEngine::ExtraParams* extra_params);
23 virtual void paintStateTransition(blink::WebCanvas* canvas, 23 virtual void paintStateTransition(blink::WebCanvas* canvas,
24 blink::WebThemeEngine::Part part, 24 blink::WebThemeEngine::Part part,
25 blink::WebThemeEngine::State startState, 25 blink::WebThemeEngine::State startState,
26 blink::WebThemeEngine::State endState, 26 blink::WebThemeEngine::State endState,
27 double progress, 27 double progress,
28 const blink::WebRect& rect); 28 const blink::WebRect& rect);
29 }; 29 };
30 30
31 } // namespace examples 31 } // namespace examples
32 } // namespace mojo 32 } // namespace mojo
33 33
34 #endif // MOJO_EXAMPLES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_ 34 #endif // MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698