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

Side by Side Diff: content/shell/renderer/test_runner/WebTestThemeEngineMac.h

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
(Empty)
1 // Copyright 2013 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 // This implements the WebThemeEngine API in such a way that we match the Mac
6 // port rendering more than usual Chromium path, thus allowing us to share
7 // more pixel baselines.
8
9 #ifndef WebTestThemeEngineMac_h
10 #define WebTestThemeEngineMac_h
11
12 #include "third_party/WebKit/public/platform/WebNonCopyable.h"
13 #include "third_party/WebKit/public/platform/mac/WebThemeEngine.h"
14
15 namespace WebTestRunner {
16
17 class WebTestThemeEngineMac : public blink::WebThemeEngine, public blink::WebNon Copyable {
18 public:
19 virtual ~WebTestThemeEngineMac() { }
20
21 virtual void paintScrollbarThumb(
22 blink::WebCanvas*,
23 blink::WebThemeEngine::State,
24 blink::WebThemeEngine::Size,
25 const blink::WebRect&,
26 const blink::WebThemeEngine::ScrollbarInfo&);
27
28 private:
29 virtual void paintHIThemeScrollbarThumb(
30 blink::WebCanvas*,
31 blink::WebThemeEngine::State,
32 blink::WebThemeEngine::Size,
33 const blink::WebRect&,
34 const blink::WebThemeEngine::ScrollbarInfo&);
35 virtual void paintNSScrollerScrollbarThumb(
36 blink::WebCanvas*,
37 blink::WebThemeEngine::State,
38 blink::WebThemeEngine::Size,
39 const blink::WebRect&,
40 const blink::WebThemeEngine::ScrollbarInfo&);
41 };
42
43 }
44
45 #endif // WebTestThemeEngineMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698