| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "public/platform/WebCommon.h" | 47 #include "public/platform/WebCommon.h" |
| 48 #include "public/platform/WebFileSystem.h" | 48 #include "public/platform/WebFileSystem.h" |
| 49 #include "public/platform/WebFileSystemType.h" | 49 #include "public/platform/WebFileSystemType.h" |
| 50 #include "public/platform/WebSecurityOrigin.h" | 50 #include "public/platform/WebSecurityOrigin.h" |
| 51 #include "public/platform/WebStorageQuotaCallbacks.h" | 51 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 52 #include "public/platform/WebStorageQuotaType.h" | 52 #include "public/platform/WebStorageQuotaType.h" |
| 53 #include "public/platform/WebURLError.h" | 53 #include "public/platform/WebURLError.h" |
| 54 #include "public/platform/WebURLRequest.h" | 54 #include "public/platform/WebURLRequest.h" |
| 55 #include <v8.h> | 55 #include <v8.h> |
| 56 | 56 |
| 57 namespace mojo { |
| 58 class ServiceProvider; |
| 59 } |
| 60 |
| 57 namespace blink { | 61 namespace blink { |
| 58 | 62 |
| 59 enum class WebTreeScopeType; | 63 enum class WebTreeScopeType; |
| 60 class WebApplicationCacheHost; | 64 class WebApplicationCacheHost; |
| 61 class WebApplicationCacheHostClient; | 65 class WebApplicationCacheHostClient; |
| 62 class WebAppBannerClient; | 66 class WebAppBannerClient; |
| 63 class WebBluetooth; | 67 class WebBluetooth; |
| 64 class WebColorChooser; | 68 class WebColorChooser; |
| 65 class WebColorChooserClient; | 69 class WebColorChooserClient; |
| 66 class WebContentDecryptionModule; | 70 class WebContentDecryptionModule; |
| 67 class WebCookieJar; | 71 class WebCookieJar; |
| 68 class WebDataSource; | 72 class WebDataSource; |
| 69 class WebEncryptedMediaClient; | 73 class WebEncryptedMediaClient; |
| 70 class WebExternalPopupMenu; | 74 class WebExternalPopupMenu; |
| 71 class WebExternalPopupMenuClient; | 75 class WebExternalPopupMenuClient; |
| 72 class WebFormElement; | 76 class WebFormElement; |
| 73 class WebGeolocationClient; | |
| 74 class WebMediaPlayer; | 77 class WebMediaPlayer; |
| 75 class WebMediaPlayerClient; | 78 class WebMediaPlayerClient; |
| 76 class WebMediaPlayerEncryptedMediaClient; | 79 class WebMediaPlayerEncryptedMediaClient; |
| 77 class WebMIDIClient; | 80 class WebMIDIClient; |
| 78 class WebNotificationPermissionCallback; | 81 class WebNotificationPermissionCallback; |
| 79 class WebPermissionClient; | 82 class WebPermissionClient; |
| 80 class WebServiceWorkerProvider; | 83 class WebServiceWorkerProvider; |
| 81 class WebSocketHandle; | 84 class WebSocketHandle; |
| 82 class WebPlugin; | 85 class WebPlugin; |
| 83 class WebPresentationClient; | 86 class WebPresentationClient; |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 | 507 |
| 505 // WebSocket ----------------------------------------------------- | 508 // WebSocket ----------------------------------------------------- |
| 506 | 509 |
| 507 // A WebSocket object is going to open a new WebSocket connection. | 510 // A WebSocket object is going to open a new WebSocket connection. |
| 508 virtual void willOpenWebSocket(WebSocketHandle*) { } | 511 virtual void willOpenWebSocket(WebSocketHandle*) { } |
| 509 | 512 |
| 510 // Wake Lock ----------------------------------------------------- | 513 // Wake Lock ----------------------------------------------------- |
| 511 | 514 |
| 512 virtual WebWakeLockClient* wakeLockClient() { return 0; } | 515 virtual WebWakeLockClient* wakeLockClient() { return 0; } |
| 513 | 516 |
| 514 // Geolocation --------------------------------------------------------- | |
| 515 | |
| 516 // Access the embedder API for (client-based) geolocation client . | |
| 517 virtual WebGeolocationClient* geolocationClient() { return 0; } | |
| 518 | |
| 519 | |
| 520 // MediaStream ----------------------------------------------------- | 517 // MediaStream ----------------------------------------------------- |
| 521 | 518 |
| 522 // A new WebRTCPeerConnectionHandler is created. | 519 // A new WebRTCPeerConnectionHandler is created. |
| 523 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC
onnectionHandler*) { } | 520 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC
onnectionHandler*) { } |
| 524 | 521 |
| 525 virtual WebUserMediaClient* userMediaClient() { return 0; } | 522 virtual WebUserMediaClient* userMediaClient() { return 0; } |
| 526 | 523 |
| 527 | 524 |
| 528 // Encrypted Media ------------------------------------------------- | 525 // Encrypted Media ------------------------------------------------- |
| 529 | 526 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 { | 652 { |
| 656 return WebCustomHandlersNew; | 653 return WebCustomHandlersNew; |
| 657 } | 654 } |
| 658 | 655 |
| 659 // Bluetooth ----------------------------------------------------------- | 656 // Bluetooth ----------------------------------------------------------- |
| 660 virtual WebBluetooth* bluetooth() { return 0; } | 657 virtual WebBluetooth* bluetooth() { return 0; } |
| 661 | 658 |
| 662 // WebUSB -------------------------------------------------------------- | 659 // WebUSB -------------------------------------------------------------- |
| 663 virtual WebUSBClient* usbClient() { return nullptr; } | 660 virtual WebUSBClient* usbClient() { return nullptr; } |
| 664 | 661 |
| 662 virtual mojo::ServiceProvider* serviceProvider() { return nullptr; } |
| 663 |
| 665 protected: | 664 protected: |
| 666 virtual ~WebFrameClient() { } | 665 virtual ~WebFrameClient() { } |
| 667 }; | 666 }; |
| 668 | 667 |
| 669 } // namespace blink | 668 } // namespace blink |
| 670 | 669 |
| 671 #endif | 670 #endif |
| OLD | NEW |