blob: 362ed02623a160a293d2306fd97db7e8f24209f3 [file] [log] [blame]
[email protected]dec09852014-07-19 21:07:521// Copyright 2014 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
jochen73e711c2015-06-03 10:01:465#ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_
6#define COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_
[email protected]dec09852014-07-19 21:07:527
8#include "third_party/WebKit/public/platform/WebThemeEngine.h"
9
jochenf5f31752015-06-03 12:06:3410namespace test_runner {
[email protected]dec09852014-07-19 21:07:5211
12class MockWebThemeEngine : public blink::WebThemeEngine {
13 public:
14 virtual ~MockWebThemeEngine() {}
15
skobesec857a12014-10-11 06:04:5816#if !defined(OS_MACOSX)
[email protected]dec09852014-07-19 21:07:5217 // blink::WebThemeEngine:
18 virtual blink::WebSize getSize(blink::WebThemeEngine::Part);
19 virtual void paint(blink::WebCanvas*,
20 blink::WebThemeEngine::Part,
21 blink::WebThemeEngine::State,
22 const blink::WebRect&,
23 const blink::WebThemeEngine::ExtraParams*);
skobesec857a12014-10-11 06:04:5824#endif // !defined(OS_MACOSX)
[email protected]dec09852014-07-19 21:07:5225};
26
jochenf5f31752015-06-03 12:06:3427} // namespace test_runner
[email protected]dec09852014-07-19 21:07:5228
jochen73e711c2015-06-03 10:01:4629#endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_