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

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

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 // This implements the WebThemeEngine API in such a way that we match the Mac 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 6 // port rendering more than usual Chromium path, thus allowing us to share
7 // more pixel baselines. 7 // more pixel baselines.
8 8
9 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_ 9 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_
10 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_ 10 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "third_party/WebKit/public/platform/WebThemeEngine.h" 13 #include "third_party/WebKit/public/platform/WebThemeEngine.h"
14 14
15 namespace WebTestRunner { 15 namespace content {
16 16
17 class WebTestThemeEngineMac : public blink::WebThemeEngine { 17 class WebTestThemeEngineMac : public blink::WebThemeEngine {
18 public: 18 public:
19 WebTestThemeEngineMac() { } 19 WebTestThemeEngineMac() { }
20 virtual ~WebTestThemeEngineMac() { } 20 virtual ~WebTestThemeEngineMac() { }
21 21
22 virtual void paintScrollbarThumb( 22 virtual void paintScrollbarThumb(
23 blink::WebCanvas*, 23 blink::WebCanvas*,
24 blink::WebThemeEngine::State, 24 blink::WebThemeEngine::State,
25 blink::WebThemeEngine::Size, 25 blink::WebThemeEngine::Size,
(...skipping 10 matching lines...) Expand all
36 virtual void paintNSScrollerScrollbarThumb( 36 virtual void paintNSScrollerScrollbarThumb(
37 blink::WebCanvas*, 37 blink::WebCanvas*,
38 blink::WebThemeEngine::State, 38 blink::WebThemeEngine::State,
39 blink::WebThemeEngine::Size, 39 blink::WebThemeEngine::Size,
40 const blink::WebRect&, 40 const blink::WebRect&,
41 const blink::WebThemeEngine::ScrollbarInfo&); 41 const blink::WebThemeEngine::ScrollbarInfo&);
42 42
43 DISALLOW_COPY_AND_ASSIGN(WebTestThemeEngineMac); 43 DISALLOW_COPY_AND_ASSIGN(WebTestThemeEngineMac);
44 }; 44 };
45 45
46 } 46 } // namespace content
47 47
48 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_ 48 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTTHEMEENGINEMAC_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestRunner.h ('k') | content/shell/renderer/test_runner/WebTestThemeEngineMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698