| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 float browser_controls_shown_ratio_delta) override; | 66 float browser_controls_shown_ratio_delta) override; |
| 67 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, | 67 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
| 68 bool has_scrolled_by_touch) override; | 68 bool has_scrolled_by_touch) override; |
| 69 void MouseCaptureLost() override; | 69 void MouseCaptureLost() override; |
| 70 void SetFocus(bool) override; | 70 void SetFocus(bool) override; |
| 71 WebRange CompositionRange() override; | 71 WebRange CompositionRange() override; |
| 72 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; | 72 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 73 bool SelectionTextDirection(WebTextDirection& start, | 73 bool SelectionTextDirection(WebTextDirection& start, |
| 74 WebTextDirection& end) const override; | 74 WebTextDirection& end) const override; |
| 75 bool IsSelectionAnchorFirst() const override; | 75 bool IsSelectionAnchorFirst() const override; |
| 76 WebRange CaretOrSelectionRange() override; | |
| 77 void SetTextDirection(WebTextDirection) override; | 76 void SetTextDirection(WebTextDirection) override; |
| 78 bool IsAcceleratedCompositingActive() const override; | 77 bool IsAcceleratedCompositingActive() const override; |
| 79 bool IsWebView() const override { return false; } | 78 bool IsWebView() const override { return false; } |
| 80 bool IsPagePopup() const override { return false; } | 79 bool IsPagePopup() const override { return false; } |
| 81 void WillCloseLayerTreeView() override; | 80 void WillCloseLayerTreeView() override; |
| 82 WebColor BackgroundColor() const override; | 81 WebColor BackgroundColor() const override; |
| 83 WebPagePopup* GetPagePopup() const override; | 82 WebPagePopup* GetPagePopup() const override; |
| 84 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 83 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
| 85 void UpdateBrowserControlsState(WebBrowserControlsState constraints, | 84 void UpdateBrowserControlsState(WebBrowserControlsState constraints, |
| 86 WebBrowserControlsState current, | 85 WebBrowserControlsState current, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 108 | 107 |
| 109 private: | 108 private: |
| 110 WebWidgetClient* client_; | 109 WebWidgetClient* client_; |
| 111 RefPtr<WebViewBase> web_view_; | 110 RefPtr<WebViewBase> web_view_; |
| 112 Persistent<WebLocalFrameBase> main_frame_; | 111 Persistent<WebLocalFrameBase> main_frame_; |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // namespace blink | 114 } // namespace blink |
| 116 | 115 |
| 117 #endif // WebViewFrameWidget_h | 116 #endif // WebViewFrameWidget_h |
| OLD | NEW |