OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; | 129 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; |
130 | 130 |
131 // Retrieves a list of spelling markers. | 131 // Retrieves a list of spelling markers. |
132 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; | 132 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; |
133 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) = 0; | 133 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) = 0; |
134 | 134 |
135 | 135 |
136 // Developer tools ----------------------------------------------------- | 136 // Developer tools ----------------------------------------------------- |
137 | 137 |
138 virtual void setShowPaintRects(bool) = 0; | 138 virtual void setShowPaintRects(bool) = 0; |
139 virtual void setShowScrollBottleneckRects(bool) = 0; | |
140 | 139 |
141 // Visibility ----------------------------------------------------------- | 140 // Visibility ----------------------------------------------------------- |
142 | 141 |
143 // Sets the visibility of the WebView. | 142 // Sets the visibility of the WebView. |
144 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 143 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
145 bool isInitialState) { } | 144 bool isInitialState) { } |
146 | 145 |
147 // i18n ----------------------------------------------------------------- | 146 // i18n ----------------------------------------------------------------- |
148 | 147 |
149 // Inform the WebView that the accept languages have changed. | 148 // Inform the WebView that the accept languages have changed. |
150 // If the WebView wants to get the accept languages value, it will have | 149 // If the WebView wants to get the accept languages value, it will have |
151 // to call the WebViewClient::acceptLanguages(). | 150 // to call the WebViewClient::acceptLanguages(). |
152 virtual void acceptLanguagesChanged() = 0; | 151 virtual void acceptLanguagesChanged() = 0; |
153 | 152 |
154 // Testing functionality for TestRunner --------------------------------- | 153 // Testing functionality for TestRunner --------------------------------- |
155 | 154 |
156 protected: | 155 protected: |
157 ~WebView() {} | 156 ~WebView() {} |
158 }; | 157 }; |
159 | 158 |
160 } // namespace blink | 159 } // namespace blink |
161 | 160 |
162 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ | 161 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ |
OLD | NEW |