| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; | 150 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; |
| 151 bool isSelectionAnchorFirst() const override; | 151 bool isSelectionAnchorFirst() const override; |
| 152 bool caretOrSelectionRange(size_t* location, size_t* length) override; | 152 bool caretOrSelectionRange(size_t* location, size_t* length) override; |
| 153 void setTextDirection(WebTextDirection) override; | 153 void setTextDirection(WebTextDirection) override; |
| 154 bool isAcceleratedCompositingActive() const override; | 154 bool isAcceleratedCompositingActive() const override; |
| 155 void willCloseLayerTreeView() override; | 155 void willCloseLayerTreeView() override; |
| 156 void didAcquirePointerLock() override; | 156 void didAcquirePointerLock() override; |
| 157 void didNotAcquirePointerLock() override; | 157 void didNotAcquirePointerLock() override; |
| 158 void didLosePointerLock() override; | 158 void didLosePointerLock() override; |
| 159 void didChangeWindowResizerRect() override; | 159 void didChangeWindowResizerRect() override; |
| 160 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
| 161 void applyReplacementRange(int start, int length) override; |
| 160 | 162 |
| 161 // WebView methods: | 163 // WebView methods: |
| 162 virtual bool isWebView() const { return true; } | 164 virtual bool isWebView() const { return true; } |
| 163 void setMainFrame(WebFrame*) override; | 165 void setMainFrame(WebFrame*) override; |
| 164 void setCredentialManagerClient(WebCredentialManagerClient*) override; | 166 void setCredentialManagerClient(WebCredentialManagerClient*) override; |
| 165 void setPrerendererClient(WebPrerendererClient*) override; | 167 void setPrerendererClient(WebPrerendererClient*) override; |
| 166 void setSpellCheckClient(WebSpellCheckClient*) override; | 168 void setSpellCheckClient(WebSpellCheckClient*) override; |
| 167 WebSettings* settings() override; | 169 WebSettings* settings() override; |
| 168 WebString pageEncoding() const override; | 170 WebString pageEncoding() const override; |
| 169 void setPageEncoding(const WebString&) override; | 171 void setPageEncoding(const WebString&) override; |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 bool m_overrideCompositorVisibility; | 773 bool m_overrideCompositorVisibility; |
| 772 }; | 774 }; |
| 773 | 775 |
| 774 // We have no ways to check if the specified WebView is an instance of | 776 // We have no ways to check if the specified WebView is an instance of |
| 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 777 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 777 | 779 |
| 778 } // namespace blink | 780 } // namespace blink |
| 779 | 781 |
| 780 #endif | 782 #endif |
| OLD | NEW |