| 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 "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/frame/WebFrameWidgetBase.h" | 9 #include "core/frame/WebFrameWidgetBase.h" |
| 10 #include "core/frame/WebLocalFrameBase.h" | 10 #include "core/frame/WebLocalFrameBase.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 float browser_controls_shown_ratio_delta) override; | 67 float browser_controls_shown_ratio_delta) override; |
| 68 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, | 68 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
| 69 bool has_scrolled_by_touch) override; | 69 bool has_scrolled_by_touch) override; |
| 70 void MouseCaptureLost() override; | 70 void MouseCaptureLost() override; |
| 71 void SetFocus(bool) override; | 71 void SetFocus(bool) override; |
| 72 WebRange CompositionRange() override; | 72 WebRange CompositionRange() override; |
| 73 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; | 73 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 74 bool SelectionTextDirection(WebTextDirection& start, | 74 bool SelectionTextDirection(WebTextDirection& start, |
| 75 WebTextDirection& end) const override; | 75 WebTextDirection& end) const override; |
| 76 bool IsSelectionAnchorFirst() const override; | 76 bool IsSelectionAnchorFirst() const override; |
| 77 WebRange CaretOrSelectionRange() override; | |
| 78 void SetTextDirection(WebTextDirection) override; | 77 void SetTextDirection(WebTextDirection) override; |
| 79 bool IsAcceleratedCompositingActive() const override; | 78 bool IsAcceleratedCompositingActive() const override; |
| 80 bool IsWebView() const override { return false; } | 79 bool IsWebView() const override { return false; } |
| 81 bool IsPagePopup() const override { return false; } | 80 bool IsPagePopup() const override { return false; } |
| 82 void WillCloseLayerTreeView() override; | 81 void WillCloseLayerTreeView() override; |
| 83 WebColor BackgroundColor() const override; | 82 WebColor BackgroundColor() const override; |
| 84 WebPagePopup* GetPagePopup() const override; | 83 WebPagePopup* GetPagePopup() const override; |
| 85 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 84 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
| 86 void UpdateBrowserControlsState(WebBrowserControlsState constraints, | 85 void UpdateBrowserControlsState(WebBrowserControlsState constraints, |
| 87 WebBrowserControlsState current, | 86 WebBrowserControlsState current, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 113 WebWidgetClient* client_; | 112 WebWidgetClient* client_; |
| 114 RefPtr<WebViewBase> web_view_; | 113 RefPtr<WebViewBase> web_view_; |
| 115 Member<WebLocalFrameBase> main_frame_; | 114 Member<WebLocalFrameBase> main_frame_; |
| 116 | 115 |
| 117 SelfKeepAlive<WebViewFrameWidget> self_keep_alive_; | 116 SelfKeepAlive<WebViewFrameWidget> self_keep_alive_; |
| 118 }; | 117 }; |
| 119 | 118 |
| 120 } // namespace blink | 119 } // namespace blink |
| 121 | 120 |
| 122 #endif // WebViewFrameWidget_h | 121 #endif // WebViewFrameWidget_h |
| OLD | NEW |