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

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

Issue 2006643004: Fix scrollbar buttons on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 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
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 CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 5 #ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "third_party/WebKit/public/platform/WebThemeEngine.h" 11 #include "third_party/WebKit/public/platform/WebThemeEngine.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class WebThemeEngineImpl : public blink::WebThemeEngine { 15 class WebThemeEngineImpl : public blink::WebThemeEngine {
16 public: 16 public:
17 // WebThemeEngine methods: 17 // WebThemeEngine methods:
18 blink::WebSize getSize(blink::WebThemeEngine::Part) override; 18 blink::WebSize getSize(blink::WebThemeEngine::Part) override;
19 bool hasScrollbarButtons() override;
19 void paint(blink::WebCanvas* canvas, 20 void paint(blink::WebCanvas* canvas,
20 blink::WebThemeEngine::Part part, 21 blink::WebThemeEngine::Part part,
21 blink::WebThemeEngine::State state, 22 blink::WebThemeEngine::State state,
22 const blink::WebRect& rect, 23 const blink::WebRect& rect,
23 const blink::WebThemeEngine::ExtraParams* extra_params) override; 24 const blink::WebThemeEngine::ExtraParams* extra_params) override;
24 virtual void paintStateTransition(blink::WebCanvas* canvas, 25 virtual void paintStateTransition(blink::WebCanvas* canvas,
25 blink::WebThemeEngine::Part part, 26 blink::WebThemeEngine::Part part,
26 blink::WebThemeEngine::State startState, 27 blink::WebThemeEngine::State startState,
27 blink::WebThemeEngine::State endState, 28 blink::WebThemeEngine::State endState,
28 double progress, 29 double progress,
29 const blink::WebRect& rect); 30 const blink::WebRect& rect);
30 }; 31 };
31 32
32 } // namespace content 33 } // namespace content
33 34
34 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 35 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698