| 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 "web/WebFrameWidgetBase.h" | 9 #include "web/WebFrameWidgetBase.h" |
| 10 #include "web/WebInputMethodControllerImpl.h" | 10 #include "web/WebInputMethodControllerImpl.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 69 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 70 bool selectionTextDirection(WebTextDirection& start, | 70 bool selectionTextDirection(WebTextDirection& start, |
| 71 WebTextDirection& end) const override; | 71 WebTextDirection& end) const override; |
| 72 bool isSelectionAnchorFirst() const override; | 72 bool isSelectionAnchorFirst() const override; |
| 73 WebRange caretOrSelectionRange() override; | 73 WebRange caretOrSelectionRange() override; |
| 74 void setTextDirection(WebTextDirection) override; | 74 void setTextDirection(WebTextDirection) override; |
| 75 bool isAcceleratedCompositingActive() const override; | 75 bool isAcceleratedCompositingActive() const override; |
| 76 bool isWebView() const override { return false; } | 76 bool isWebView() const override { return false; } |
| 77 bool isPagePopup() const override { return false; } | 77 bool isPagePopup() const override { return false; } |
| 78 void willCloseLayerTreeView() override; | 78 void willCloseLayerTreeView() override; |
| 79 void didAcquirePointerLock() override; | |
| 80 void didNotAcquirePointerLock() override; | |
| 81 void didLosePointerLock() override; | |
| 82 WebColor backgroundColor() const override; | 79 WebColor backgroundColor() const override; |
| 83 WebPagePopup* pagePopup() const override; | 80 WebPagePopup* pagePopup() const override; |
| 84 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 81 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
| 85 void updateBrowserControlsState(WebBrowserControlsState constraints, | 82 void updateBrowserControlsState(WebBrowserControlsState constraints, |
| 86 WebBrowserControlsState current, | 83 WebBrowserControlsState current, |
| 87 bool animate) override; | 84 bool animate) override; |
| 88 void setVisibilityState(WebPageVisibilityState) override; | 85 void setVisibilityState(WebPageVisibilityState) override; |
| 89 bool isTransparent() const override; | 86 bool isTransparent() const override; |
| 90 void setIsTransparent(bool) override; | 87 void setIsTransparent(bool) override; |
| 91 void setBaseBackgroundColor(WebColor) override; | 88 void setBaseBackgroundColor(WebColor) override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 107 | 104 |
| 108 private: | 105 private: |
| 109 WebWidgetClient* m_client; | 106 WebWidgetClient* m_client; |
| 110 RefPtr<WebViewImpl> m_webView; | 107 RefPtr<WebViewImpl> m_webView; |
| 111 Persistent<WebLocalFrameImpl> m_mainFrame; | 108 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 112 }; | 109 }; |
| 113 | 110 |
| 114 } // namespace blink | 111 } // namespace blink |
| 115 | 112 |
| 116 #endif // WebViewFrameWidget_h | 113 #endif // WebViewFrameWidget_h |
| OLD | NEW |