mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
// 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 SKY_ENGINE_TESTING_PLATFORM_WEBTHEMEENGINE_IMPL_H_
|
|
#define SKY_ENGINE_TESTING_PLATFORM_WEBTHEMEENGINE_IMPL_H_
|
|
|
|
#include "sky/engine/public/platform/WebThemeEngine.h"
|
|
|
|
namespace sky {
|
|
|
|
class WebThemeEngineImpl : public blink::WebThemeEngine {
|
|
public:
|
|
// WebThemeEngine methods:
|
|
virtual blink::WebSize getSize(blink::WebThemeEngine::Part);
|
|
virtual void paint(
|
|
blink::WebCanvas* canvas,
|
|
blink::WebThemeEngine::Part part,
|
|
blink::WebThemeEngine::State state,
|
|
const blink::WebRect& rect,
|
|
const blink::WebThemeEngine::ExtraParams* extra_params);
|
|
virtual void paintStateTransition(blink::WebCanvas* canvas,
|
|
blink::WebThemeEngine::Part part,
|
|
blink::WebThemeEngine::State startState,
|
|
blink::WebThemeEngine::State endState,
|
|
double progress,
|
|
const blink::WebRect& rect);
|
|
};
|
|
|
|
} // namespace sky
|
|
|
|
#endif // SKY_ENGINE_TESTING_PLATFORM_WEBTHEMEENGINE_IMPL_H_
|