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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 class WebFileChooserCompletion; | 58 class WebFileChooserCompletion; |
59 class WebGestureEvent; | 59 class WebGestureEvent; |
60 class WebHitTestResult; | 60 class WebHitTestResult; |
61 class WebImage; | 61 class WebImage; |
62 class WebInputElement; | 62 class WebInputElement; |
63 class WebKeyboardEvent; | 63 class WebKeyboardEvent; |
64 class WebNode; | 64 class WebNode; |
65 class WebPushClient; | 65 class WebPushClient; |
66 class WebRange; | 66 class WebRange; |
67 class WebSpeechRecognizer; | 67 class WebSpeechRecognizer; |
68 class WebScreenOrientationClient; | |
69 class WebStorageNamespace; | 68 class WebStorageNamespace; |
70 class WebURL; | 69 class WebURL; |
71 class WebURLRequest; | 70 class WebURLRequest; |
72 class WebView; | 71 class WebView; |
73 class WebWidget; | 72 class WebWidget; |
74 struct WebConsoleMessage; | 73 struct WebConsoleMessage; |
75 struct WebDateTimeChooserParams; | 74 struct WebDateTimeChooserParams; |
76 struct WebPoint; | 75 struct WebPoint; |
77 struct WebPopupMenuInfo; | 76 struct WebPopupMenuInfo; |
78 struct WebRect; | 77 struct WebRect; |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 virtual WebPageVisibilityState visibilityState() const | 281 virtual WebPageVisibilityState visibilityState() const |
283 { | 282 { |
284 return WebPageVisibilityStateVisible; | 283 return WebPageVisibilityStateVisible; |
285 } | 284 } |
286 | 285 |
287 | 286 |
288 // Push Messaging ------------------------------------------------------- | 287 // Push Messaging ------------------------------------------------------- |
289 | 288 |
290 virtual WebPushClient* webPushClient() { return 0; } | 289 virtual WebPushClient* webPushClient() { return 0; } |
291 | 290 |
292 // Screen Orientation --------------------------------------------------- | |
293 | |
294 virtual WebScreenOrientationClient* webScreenOrientationClient() | |
295 { | |
296 return 0; | |
297 } | |
298 | |
299 | 291 |
300 // Content detection ---------------------------------------------------- | 292 // Content detection ---------------------------------------------------- |
301 | 293 |
302 // Retrieves detectable content (e.g., email addresses, phone numbers) | 294 // Retrieves detectable content (e.g., email addresses, phone numbers) |
303 // around a hit test result. The embedder should use platform-specific | 295 // around a hit test result. The embedder should use platform-specific |
304 // content detectors to analyze the region around the hit test result. | 296 // content detectors to analyze the region around the hit test result. |
305 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } | 297 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } |
306 | 298 |
307 // Schedules a new content intent with the provided url. | 299 // Schedules a new content intent with the provided url. |
308 virtual void scheduleContentIntent(const WebURL&) { } | 300 virtual void scheduleContentIntent(const WebURL&) { } |
309 | 301 |
310 // Cancels any previously scheduled content intents that have not yet launch
ed. | 302 // Cancels any previously scheduled content intents that have not yet launch
ed. |
311 virtual void cancelScheduledContentIntents() { } | 303 virtual void cancelScheduledContentIntents() { } |
312 | 304 |
313 | 305 |
314 // Draggable regions ---------------------------------------------------- | 306 // Draggable regions ---------------------------------------------------- |
315 | 307 |
316 // Informs the browser that the draggable regions have been updated. | 308 // Informs the browser that the draggable regions have been updated. |
317 virtual void draggableRegionsChanged() { } | 309 virtual void draggableRegionsChanged() { } |
318 | 310 |
319 protected: | 311 protected: |
320 ~WebViewClient() { } | 312 ~WebViewClient() { } |
321 }; | 313 }; |
322 | 314 |
323 } // namespace blink | 315 } // namespace blink |
324 | 316 |
325 #endif | 317 #endif |
OLD | NEW |