| 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 // WebStorageQuotaCallbacks::didGrantStorageQuota will be called when | 500 // WebStorageQuotaCallbacks::didGrantStorageQuota will be called when |
| 501 // a new quota is granted. WebStorageQuotaCallbacks::didFail | 501 // a new quota is granted. WebStorageQuotaCallbacks::didFail |
| 502 // is called with an error code otherwise. | 502 // is called with an error code otherwise. |
| 503 // Note that the requesting quota size may not always be granted and | 503 // Note that the requesting quota size may not always be granted and |
| 504 // a smaller amount of quota than requested might be returned. | 504 // a smaller amount of quota than requested might be returned. |
| 505 virtual void requestStorageQuota( | 505 virtual void requestStorageQuota( |
| 506 WebLocalFrame*, WebStorageQuotaType, | 506 WebLocalFrame*, WebStorageQuotaType, |
| 507 unsigned long long newQuotaInBytes, | 507 unsigned long long newQuotaInBytes, |
| 508 WebStorageQuotaCallbacks) { } | 508 WebStorageQuotaCallbacks) { } |
| 509 | 509 |
| 510 virtual void requestDurability( |
| 511 WebLocalFrame*, |
| 512 WebStorageQuotaCallbacks) { } |
| 513 |
| 510 // WebSocket ----------------------------------------------------- | 514 // WebSocket ----------------------------------------------------- |
| 511 | 515 |
| 512 // A WebSocket object is going to open a new WebSocket connection. | 516 // A WebSocket object is going to open a new WebSocket connection. |
| 513 virtual void willOpenWebSocket(WebSocketHandle*) { } | 517 virtual void willOpenWebSocket(WebSocketHandle*) { } |
| 514 | 518 |
| 515 | 519 |
| 516 // Geolocation --------------------------------------------------------- | 520 // Geolocation --------------------------------------------------------- |
| 517 | 521 |
| 518 // Access the embedder API for (client-based) geolocation client . | 522 // Access the embedder API for (client-based) geolocation client . |
| 519 virtual WebGeolocationClient* geolocationClient() { return 0; } | 523 virtual WebGeolocationClient* geolocationClient() { return 0; } |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 // App Banners --------------------------------------------------------- | 649 // App Banners --------------------------------------------------------- |
| 646 virtual WebAppBannerClient* appBannerClient() { return 0; } | 650 virtual WebAppBannerClient* appBannerClient() { return 0; } |
| 647 | 651 |
| 648 protected: | 652 protected: |
| 649 virtual ~WebFrameClient() { } | 653 virtual ~WebFrameClient() { } |
| 650 }; | 654 }; |
| 651 | 655 |
| 652 } // namespace blink | 656 } // namespace blink |
| 653 | 657 |
| 654 #endif | 658 #endif |
| OLD | NEW |