OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Zoom ---------------------------------------------------------------- | 219 // Zoom ---------------------------------------------------------------- |
220 | 220 |
221 // Informs the browser that the zoom levels for this frame have changed from | 221 // Informs the browser that the zoom levels for this frame have changed from |
222 // the default values. | 222 // the default values. |
223 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } | 223 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } |
224 | 224 |
225 // Informs the browser that the page scale has changed. | 225 // Informs the browser that the page scale has changed. |
226 virtual void pageScaleFactorChanged() { } | 226 virtual void pageScaleFactorChanged() { } |
227 | 227 |
228 | 228 |
229 // Visibility ----------------------------------------------------------- | |
230 | |
231 // Returns the current visibility of the WebView. | |
232 virtual WebPageVisibilityState visibilityState() const | |
233 { | |
234 return WebPageVisibilityStateVisible; | |
235 } | |
236 | |
237 | |
238 // Content detection ---------------------------------------------------- | 229 // Content detection ---------------------------------------------------- |
239 | 230 |
240 // Retrieves detectable content (e.g., email addresses, phone numbers) | 231 // Retrieves detectable content (e.g., email addresses, phone numbers) |
241 // around a hit test result. The embedder should use platform-specific | 232 // around a hit test result. The embedder should use platform-specific |
242 // content detectors to analyze the region around the hit test result. | 233 // content detectors to analyze the region around the hit test result. |
243 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } | 234 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } |
244 | 235 |
245 // Schedules a new content intent with the provided url. | 236 // Schedules a new content intent with the provided url. |
246 // The boolean flag is set to true when the user gesture has been applied | 237 // The boolean flag is set to true when the user gesture has been applied |
247 // to the element from the main frame. | 238 // to the element from the main frame. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 WebRect windowRect() override { return WebRect(); } | 279 WebRect windowRect() override { return WebRect(); } |
289 WebRect windowResizerRect() override { return WebRect(); } | 280 WebRect windowResizerRect() override { return WebRect(); } |
290 | 281 |
291 protected: | 282 protected: |
292 ~WebViewClient() { } | 283 ~WebViewClient() { } |
293 }; | 284 }; |
294 | 285 |
295 } // namespace blink | 286 } // namespace blink |
296 | 287 |
297 #endif | 288 #endif |
OLD | NEW |