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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 void applyReplacementRange(const WebRange&) override; | 164 void applyReplacementRange(const WebRange&) override; |
165 | 165 |
166 // WebView methods: | 166 // WebView methods: |
167 virtual bool isWebView() const { return true; } | 167 virtual bool isWebView() const { return true; } |
168 void setMainFrame(WebFrame*) override; | 168 void setMainFrame(WebFrame*) override; |
169 void setCredentialManagerClient(WebCredentialManagerClient*) override; | 169 void setCredentialManagerClient(WebCredentialManagerClient*) override; |
170 void setPrerendererClient(WebPrerendererClient*) override; | 170 void setPrerendererClient(WebPrerendererClient*) override; |
171 void setSpellCheckClient(WebSpellCheckClient*) override; | 171 void setSpellCheckClient(WebSpellCheckClient*) override; |
172 WebSettings* settings() override; | 172 WebSettings* settings() override; |
173 WebString pageEncoding() const override; | 173 WebString pageEncoding() const override; |
174 void setPageEncoding(const WebString&) override; | |
175 bool tabsToLinks() const override; | 174 bool tabsToLinks() const override; |
176 void setTabsToLinks(bool value) override; | 175 void setTabsToLinks(bool value) override; |
177 bool tabKeyCyclesThroughElements() const override; | 176 bool tabKeyCyclesThroughElements() const override; |
178 void setTabKeyCyclesThroughElements(bool value) override; | 177 void setTabKeyCyclesThroughElements(bool value) override; |
179 bool isActive() const override; | 178 bool isActive() const override; |
180 void setIsActive(bool value) override; | 179 void setIsActive(bool value) override; |
181 void setDomainRelaxationForbidden(bool, const WebString& scheme) override; | 180 void setDomainRelaxationForbidden(bool, const WebString& scheme) override; |
182 void setWindowFeatures(const WebWindowFeatures&) override; | 181 void setWindowFeatures(const WebWindowFeatures&) override; |
183 void setOpenedByDOM() override; | 182 void setOpenedByDOM() override; |
184 void resizeWithTopControls( | 183 void resizeWithTopControls( |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 779 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
781 }; | 780 }; |
782 | 781 |
783 // We have no ways to check if the specified WebView is an instance of | 782 // We have no ways to check if the specified WebView is an instance of |
784 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 783 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
785 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 784 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
786 | 785 |
787 } // namespace blink | 786 } // namespace blink |
788 | 787 |
789 #endif | 788 #endif |
OLD | NEW |