blob: 362ed02623a160a293d2306fd97db7e8f24209f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_
#define COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_
#include "third_party/WebKit/public/platform/WebThemeEngine.h"
namespace test_runner {
class MockWebThemeEngine : public blink::WebThemeEngine {
public:
virtual ~MockWebThemeEngine() {}
#if !defined(OS_MACOSX)
// blink::WebThemeEngine:
virtual blink::WebSize getSize(blink::WebThemeEngine::Part);
virtual void paint(blink::WebCanvas*,
blink::WebThemeEngine::Part,
blink::WebThemeEngine::State,
const blink::WebRect&,
const blink::WebThemeEngine::ExtraParams*);
#endif // !defined(OS_MACOSX)
};
} // namespace test_runner
#endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_H_
|