| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
| index 09c85f3701d22815b9cdf82237019face6bae603..66b1f00d86fdfc66585ca87a0111a00d9925bb4d 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
| @@ -115,6 +115,15 @@ public:
|
| void willCloseLayerTreeView() override;
|
| void didChangeWindowResizerRect() override;
|
|
|
| + // WebFrameWidget implementation.
|
| + void setVisibilityState(WebPageVisibilityState, bool) override;
|
| + bool isTransparent() const override;
|
| + void setIsTransparent(bool) override;
|
| + void setBaseBackgroundColor(WebColor) override;
|
| + void setBackgroundColorOverride(WebColor) override;
|
| + WebColor backgroundColorOverride() const override { return m_backgroundColorOverride; }
|
| + void scheduleAnimation() override;
|
| +
|
| WebWidgetClient* client() const { return m_client; }
|
|
|
| Frame* focusedCoreFrame() const;
|
| @@ -122,15 +131,11 @@ public:
|
| // Returns the currently focused Element or null if no element has focus.
|
| Element* focusedElement() const;
|
|
|
| - void scheduleAnimation() override;
|
| -
|
| PaintLayerCompositor* compositor() const;
|
| void setRootGraphicsLayer(GraphicsLayer*);
|
| void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*);
|
| void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*);
|
|
|
| - void setVisibilityState(WebPageVisibilityState, bool) override;
|
| -
|
| // Exposed for the purpose of overriding device metrics.
|
| void sendResizeEventAndRepaint();
|
|
|
| @@ -153,6 +158,8 @@ public:
|
| ScrollDirection*,
|
| ScrollGranularity*);
|
|
|
| + Color baseBackgroundColor() const { return m_baseBackgroundColor; }
|
| +
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -182,8 +189,6 @@ private:
|
| void updateLayerTreeBackgroundColor();
|
| void updateLayerTreeDeviceScaleFactor();
|
|
|
| - bool isTransparent() const;
|
| -
|
| // PageWidgetEventHandler functions
|
| void handleMouseLeave(LocalFrame&, const WebMouseEvent&) override;
|
| void handleMouseDown(LocalFrame&, const WebMouseEvent&) override;
|
| @@ -217,8 +222,14 @@ private:
|
|
|
| bool m_ignoreInputEvents;
|
|
|
| + // Whether the WebFrameWidget is rendering transparently.
|
| + bool m_isTransparent;
|
| +
|
| static const WebInputEvent* m_currentInputEvent;
|
|
|
| + WebColor m_baseBackgroundColor;
|
| + WebColor m_backgroundColorOverride;
|
| +
|
| #if ENABLE(OILPAN)
|
| SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
|
| #endif
|
|
|