Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.h

Issue 1565893004: Sets a transparent background for out-of-process subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split cc changes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #ifndef WebViewFrameWidget_h 5 #ifndef WebViewFrameWidget_h
6 #define WebViewFrameWidget_h 6 #define WebViewFrameWidget_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "public/web/WebFrameWidget.h" 9 #include "public/web/WebFrameWidget.h"
10 #include "wtf/Noncopyable.h" 10 #include "wtf/Noncopyable.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void willCloseLayerTreeView() override; 87 void willCloseLayerTreeView() override;
88 void didAcquirePointerLock() override; 88 void didAcquirePointerLock() override;
89 void didNotAcquirePointerLock() override; 89 void didNotAcquirePointerLock() override;
90 void didLosePointerLock() override; 90 void didLosePointerLock() override;
91 void didChangeWindowResizerRect() override; 91 void didChangeWindowResizerRect() override;
92 WebColor backgroundColor() const override; 92 WebColor backgroundColor() const override;
93 WebPagePopup* pagePopup() const override; 93 WebPagePopup* pagePopup() const override;
94 void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) ov erride; 94 void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) ov erride;
95 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override; 95 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override;
96 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid e; 96 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid e;
97 bool isTransparent() const override;
98 void setIsTransparent(bool) override;
99 void setBaseBackgroundColor(WebColor) override;
100 void setBackgroundColorOverride(WebColor) override;
101 WebColor backgroundColorOverride() const override;
97 bool forSubframe() const { return false; } 102 bool forSubframe() const { return false; }
98 void scheduleAnimation() override; 103 void scheduleAnimation() override;
99 104
100 private: 105 private:
101 WebWidgetClient* m_client; 106 WebWidgetClient* m_client;
102 RefPtr<WebViewImpl> m_webView; 107 RefPtr<WebViewImpl> m_webView;
103 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame; 108 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame;
104 }; 109 };
105 110
106 } // namespace blink 111 } // namespace blink
107 112
108 #endif // WebViewFrameWidget_h 113 #endif // WebViewFrameWidget_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698