| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 bool has_scrolled_by_touch) override; | 136 bool has_scrolled_by_touch) override; |
| 137 void MouseCaptureLost() override; | 137 void MouseCaptureLost() override; |
| 138 void SetFocus(bool enable) override; | 138 void SetFocus(bool enable) override; |
| 139 WebRange CompositionRange() override; | 139 WebRange CompositionRange() override; |
| 140 WebColor BackgroundColor() const override; | 140 WebColor BackgroundColor() const override; |
| 141 WebPagePopupImpl* GetPagePopup() const override; | 141 WebPagePopupImpl* GetPagePopup() const override; |
| 142 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; | 142 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 143 bool SelectionTextDirection(WebTextDirection& start, | 143 bool SelectionTextDirection(WebTextDirection& start, |
| 144 WebTextDirection& end) const override; | 144 WebTextDirection& end) const override; |
| 145 bool IsSelectionAnchorFirst() const override; | 145 bool IsSelectionAnchorFirst() const override; |
| 146 WebRange CaretOrSelectionRange() override; | |
| 147 void SetTextDirection(WebTextDirection) override; | 146 void SetTextDirection(WebTextDirection) override; |
| 148 bool IsAcceleratedCompositingActive() const override; | 147 bool IsAcceleratedCompositingActive() const override; |
| 149 void WillCloseLayerTreeView() override; | 148 void WillCloseLayerTreeView() override; |
| 150 void DidAcquirePointerLock() override; | 149 void DidAcquirePointerLock() override; |
| 151 void DidNotAcquirePointerLock() override; | 150 void DidNotAcquirePointerLock() override; |
| 152 void DidLosePointerLock() override; | 151 void DidLosePointerLock() override; |
| 153 void ShowContextMenu(WebMenuSourceType) override; | 152 void ShowContextMenu(WebMenuSourceType) override; |
| 154 | 153 |
| 155 // WebView methods: | 154 // WebView methods: |
| 156 virtual bool IsWebView() const { return true; } | 155 virtual bool IsWebView() const { return true; } |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 744 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 746 }; | 745 }; |
| 747 | 746 |
| 748 // We have no ways to check if the specified WebView is an instance of | 747 // We have no ways to check if the specified WebView is an instance of |
| 749 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 748 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 750 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 749 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 751 | 750 |
| 752 } // namespace blink | 751 } // namespace blink |
| 753 | 752 |
| 754 #endif | 753 #endif |
| OLD | NEW |