| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; | 149 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; |
| 150 bool isSelectionAnchorFirst() const override; | 150 bool isSelectionAnchorFirst() const override; |
| 151 bool caretOrSelectionRange(size_t* location, size_t* length) override; | 151 bool caretOrSelectionRange(size_t* location, size_t* length) override; |
| 152 void setTextDirection(WebTextDirection) override; | 152 void setTextDirection(WebTextDirection) override; |
| 153 bool isAcceleratedCompositingActive() const override; | 153 bool isAcceleratedCompositingActive() const override; |
| 154 void willCloseLayerTreeView() override; | 154 void willCloseLayerTreeView() override; |
| 155 void didAcquirePointerLock() override; | 155 void didAcquirePointerLock() override; |
| 156 void didNotAcquirePointerLock() override; | 156 void didNotAcquirePointerLock() override; |
| 157 void didLosePointerLock() override; | 157 void didLosePointerLock() override; |
| 158 void didChangeWindowResizerRect() override; | 158 void didChangeWindowResizerRect() override; |
| 159 void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool hasPotent
ialPerformanceRegression) override; |
| 159 | 160 |
| 160 // WebView methods: | 161 // WebView methods: |
| 161 virtual bool isWebView() const { return true; } | 162 virtual bool isWebView() const { return true; } |
| 162 void setMainFrame(WebFrame*) override; | 163 void setMainFrame(WebFrame*) override; |
| 163 void setCredentialManagerClient(WebCredentialManagerClient*) override; | 164 void setCredentialManagerClient(WebCredentialManagerClient*) override; |
| 164 void setPrerendererClient(WebPrerendererClient*) override; | 165 void setPrerendererClient(WebPrerendererClient*) override; |
| 165 void setSpellCheckClient(WebSpellCheckClient*) override; | 166 void setSpellCheckClient(WebSpellCheckClient*) override; |
| 166 WebSettings* settings() override; | 167 WebSettings* settings() override; |
| 167 WebString pageEncoding() const override; | 168 WebString pageEncoding() const override; |
| 168 void setPageEncoding(const WebString&) override; | 169 void setPageEncoding(const WebString&) override; |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 }; | 757 }; |
| 757 | 758 |
| 758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 759 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 759 // We have no ways to check if the specified WebView is an instance of | 760 // We have no ways to check if the specified WebView is an instance of |
| 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 761 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 762 | 763 |
| 763 } // namespace blink | 764 } // namespace blink |
| 764 | 765 |
| 765 #endif | 766 #endif |
| OLD | NEW |