| OLD | NEW |
| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid
e; | 94 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid
e; |
| 95 bool isTransparent() const override; | 95 bool isTransparent() const override; |
| 96 void setIsTransparent(bool) override; | 96 void setIsTransparent(bool) override; |
| 97 void setBaseBackgroundColor(WebColor) override; | 97 void setBaseBackgroundColor(WebColor) override; |
| 98 bool forSubframe() const { return false; } | 98 bool forSubframe() const { return false; } |
| 99 void scheduleAnimation() override; | 99 void scheduleAnimation() override; |
| 100 | 100 |
| 101 private: | 101 private: |
| 102 WebWidgetClient* m_client; | 102 WebWidgetClient* m_client; |
| 103 RefPtr<WebViewImpl> m_webView; | 103 RefPtr<WebViewImpl> m_webView; |
| 104 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame; | 104 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace blink | 107 } // namespace blink |
| 108 | 108 |
| 109 #endif // WebViewFrameWidget_h | 109 #endif // WebViewFrameWidget_h |
| OLD | NEW |