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

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

Issue 1037363002: Remove unnecessary 'virtual' annotation from mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved merge conflicts Created 5 years, 8 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
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_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_
6 #define MOJO_SERVICES_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 html_viewer { 10 namespace html_viewer {
11 11
12 class WebThemeEngineImpl : public blink::WebThemeEngine { 12 class WebThemeEngineImpl : public blink::WebThemeEngine {
13 public: 13 public:
14 // WebThemeEngine methods: 14 // WebThemeEngine methods:
15 virtual blink::WebSize getSize(blink::WebThemeEngine::Part); 15 blink::WebSize getSize(blink::WebThemeEngine::Part) override;
16 virtual void paint( 16 void paint(blink::WebCanvas* canvas,
17 blink::WebCanvas* canvas, 17 blink::WebThemeEngine::Part part,
18 blink::WebThemeEngine::Part part, 18 blink::WebThemeEngine::State state,
19 blink::WebThemeEngine::State state, 19 const blink::WebRect& rect,
20 const blink::WebRect& rect, 20 const blink::WebThemeEngine::ExtraParams* extra_params) override;
21 const blink::WebThemeEngine::ExtraParams* extra_params);
22 virtual void paintStateTransition(blink::WebCanvas* canvas, 21 virtual void paintStateTransition(blink::WebCanvas* canvas,
23 blink::WebThemeEngine::Part part, 22 blink::WebThemeEngine::Part part,
24 blink::WebThemeEngine::State startState, 23 blink::WebThemeEngine::State startState,
25 blink::WebThemeEngine::State endState, 24 blink::WebThemeEngine::State endState,
26 double progress, 25 double progress,
27 const blink::WebRect& rect); 26 const blink::WebRect& rect);
28 }; 27 };
29 28
30 } // namespace html_viewer 29 } // namespace html_viewer
31 30
32 #endif // MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_ 31 #endif // MOJO_SERVICES_HTML_VIEWER_WEBTHEMEENGINE_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/webstoragenamespace_impl.cc ('k') | mojo/services/html_viewer/webthread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698