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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 class WebFrame; | 62 class WebFrame; |
63 class WebGeolocationClient; | 63 class WebGeolocationClient; |
64 class WebGeolocationService; | 64 class WebGeolocationService; |
65 class WebGestureEvent; | 65 class WebGestureEvent; |
66 class WebHelperPlugin; | 66 class WebHelperPlugin; |
67 class WebHitTestResult; | 67 class WebHitTestResult; |
68 class WebIconLoadingCompletion; | 68 class WebIconLoadingCompletion; |
69 class WebImage; | 69 class WebImage; |
70 class WebInputElement; | 70 class WebInputElement; |
71 class WebKeyboardEvent; | 71 class WebKeyboardEvent; |
| 72 class WebMIDIClient; |
72 class WebNode; | 73 class WebNode; |
73 class WebNotificationPresenter; | 74 class WebNotificationPresenter; |
74 class WebRange; | 75 class WebRange; |
75 class WebSpeechInputController; | 76 class WebSpeechInputController; |
76 class WebSpeechInputListener; | 77 class WebSpeechInputListener; |
77 class WebSpeechRecognizer; | 78 class WebSpeechRecognizer; |
78 class WebStorageNamespace; | 79 class WebStorageNamespace; |
79 class WebURL; | 80 class WebURL; |
80 class WebURLRequest; | 81 class WebURLRequest; |
81 class WebUserMediaClient; | 82 class WebUserMediaClient; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // Returns the current visibility of the WebView. | 368 // Returns the current visibility of the WebView. |
368 virtual WebPageVisibilityState visibilityState() const | 369 virtual WebPageVisibilityState visibilityState() const |
369 { | 370 { |
370 return WebPageVisibilityStateVisible; | 371 return WebPageVisibilityStateVisible; |
371 } | 372 } |
372 | 373 |
373 // Media Streams ------------------------------------------------------- | 374 // Media Streams ------------------------------------------------------- |
374 | 375 |
375 virtual WebUserMediaClient* userMediaClient() { return 0; } | 376 virtual WebUserMediaClient* userMediaClient() { return 0; } |
376 | 377 |
| 378 // Web MIDI ------------------------------------------------------------- |
| 379 |
| 380 virtual WebMIDIClient* webMIDIClient() { return 0; } |
| 381 |
377 | 382 |
378 // Content detection ---------------------------------------------------- | 383 // Content detection ---------------------------------------------------- |
379 | 384 |
380 // Retrieves detectable content (e.g., email addresses, phone numbers) | 385 // Retrieves detectable content (e.g., email addresses, phone numbers) |
381 // around a hit test result. The embedder should use platform-specific | 386 // around a hit test result. The embedder should use platform-specific |
382 // content detectors to analyze the region around the hit test result. | 387 // content detectors to analyze the region around the hit test result. |
383 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } | 388 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } |
384 | 389 |
385 // Schedules a new content intent with the provided url. | 390 // Schedules a new content intent with the provided url. |
386 virtual void scheduleContentIntent(const WebURL&) { } | 391 virtual void scheduleContentIntent(const WebURL&) { } |
387 | 392 |
388 // Cancels any previously scheduled content intents that have not yet launch
ed. | 393 // Cancels any previously scheduled content intents that have not yet launch
ed. |
389 virtual void cancelScheduledContentIntents() { } | 394 virtual void cancelScheduledContentIntents() { } |
390 | 395 |
391 // Draggable regions ---------------------------------------------------- | 396 // Draggable regions ---------------------------------------------------- |
392 | 397 |
393 // Informs the browser that the draggable regions have been updated. | 398 // Informs the browser that the draggable regions have been updated. |
394 virtual void draggableRegionsChanged() { } | 399 virtual void draggableRegionsChanged() { } |
395 | 400 |
396 protected: | 401 protected: |
397 ~WebViewClient() { } | 402 ~WebViewClient() { } |
398 }; | 403 }; |
399 | 404 |
400 } // namespace WebKit | 405 } // namespace WebKit |
401 | 406 |
402 #endif | 407 #endif |
OLD | NEW |