| Index: third_party/WebKit/Source/web/InspectorEmulationAgent.h
|
| diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.h b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
|
| index ae6ea0a1616bbab9dcdb7a20974391b9f589ad5c..6787cc38fd62e8d8caa6a0d91216008a1302e8df 100644
|
| --- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h
|
| +++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
|
| @@ -14,6 +14,12 @@ namespace blink {
|
| class WebLocalFrameImpl;
|
| class WebViewImpl;
|
|
|
| +namespace protocol {
|
| +namespace DOM {
|
| +class RGBA;
|
| +} // namespace DOM
|
| +} // namespace protocol
|
| +
|
| class InspectorEmulationAgent final
|
| : public InspectorBaseAgent<protocol::Emulation::Metainfo> {
|
| WTF_MAKE_NONCOPYABLE(InspectorEmulationAgent);
|
| @@ -41,6 +47,8 @@ class InspectorEmulationAgent final
|
| Response setCPUThrottlingRate(double) override;
|
| Response setVirtualTimePolicy(const String& policy,
|
| Maybe<int> virtualTimeBudgetMs) override;
|
| + Response setDefaultBackgroundColorOverride(
|
| + Maybe<protocol::DOM::RGBA>) override;
|
|
|
| // InspectorBaseAgent overrides.
|
| Response disable() override;
|
| @@ -52,6 +60,8 @@ class InspectorEmulationAgent final
|
| InspectorEmulationAgent(WebLocalFrameImpl*, Client*);
|
| WebViewImpl* webViewImpl();
|
| void virtualTimeBudgetExpired();
|
| + std::unique_ptr<protocol::DOM::RGBA> getBaseBackgroundColor();
|
| + void setBaseBackgroundColor(protocol::DOM::RGBA*);
|
|
|
| Member<WebLocalFrameImpl> m_webLocalFrameImpl;
|
| Client* m_client;
|
|
|