| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "public/platform/WebStorageQuotaType.h" | 50 #include "public/platform/WebStorageQuotaType.h" |
| 51 #include "public/platform/WebURLError.h" | 51 #include "public/platform/WebURLError.h" |
| 52 #include "public/platform/WebURLRequest.h" | 52 #include "public/platform/WebURLRequest.h" |
| 53 #include <v8.h> | 53 #include <v8.h> |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 class WebApplicationCacheHost; | 57 class WebApplicationCacheHost; |
| 58 class WebApplicationCacheHostClient; | 58 class WebApplicationCacheHostClient; |
| 59 class WebCachedURLRequest; | 59 class WebCachedURLRequest; |
| 60 class WebCallback; |
| 60 class WebColorChooser; | 61 class WebColorChooser; |
| 61 class WebColorChooserClient; | 62 class WebColorChooserClient; |
| 62 class WebContentDecryptionModule; | 63 class WebContentDecryptionModule; |
| 63 class WebCookieJar; | 64 class WebCookieJar; |
| 64 class WebDataSource; | 65 class WebDataSource; |
| 65 class WebDOMEvent; | 66 class WebDOMEvent; |
| 66 class WebExternalPopupMenu; | 67 class WebExternalPopupMenu; |
| 67 class WebExternalPopupMenuClient; | 68 class WebExternalPopupMenuClient; |
| 68 class WebFormElement; | 69 class WebFormElement; |
| 69 class WebGeolocationClient; | 70 class WebGeolocationClient; |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 // Web Notifications --------------------------------------------------- | 319 // Web Notifications --------------------------------------------------- |
| 319 | 320 |
| 320 // Requests permission to display platform notifications on the origin of th
is frame. | 321 // Requests permission to display platform notifications on the origin of th
is frame. |
| 321 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } | 322 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } |
| 322 | 323 |
| 323 // Called to retrieve the provider of desktop notifications. | 324 // Called to retrieve the provider of desktop notifications. |
| 324 // FIXME: Remove this method once the presenter is obtained through Platform
. | 325 // FIXME: Remove this method once the presenter is obtained through Platform
. |
| 325 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 326 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
| 326 | 327 |
| 327 | 328 |
| 329 // Push API --------------------------------------------------- |
| 330 |
| 331 // Requests permission to use the Push API in the origin of this frame. |
| 332 virtual void requestPushPermission(WebCallback* callback) { } |
| 333 |
| 334 |
| 328 // Editing ------------------------------------------------------------- | 335 // Editing ------------------------------------------------------------- |
| 329 | 336 |
| 330 // These methods allow the client to intercept and overrule editing | 337 // These methods allow the client to intercept and overrule editing |
| 331 // operations. | 338 // operations. |
| 332 virtual void didChangeSelection(bool isSelectionEmpty) { } | 339 virtual void didChangeSelection(bool isSelectionEmpty) { } |
| 333 | 340 |
| 334 | 341 |
| 335 // Dialogs ------------------------------------------------------------- | 342 // Dialogs ------------------------------------------------------------- |
| 336 | 343 |
| 337 // This method opens the color chooser and returns a new WebColorChooser | 344 // This method opens the color chooser and returns a new WebColorChooser |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 // associated with the WebDataSource. | 586 // associated with the WebDataSource. |
| 580 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 587 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
| 581 | 588 |
| 582 protected: | 589 protected: |
| 583 virtual ~WebFrameClient() { } | 590 virtual ~WebFrameClient() { } |
| 584 }; | 591 }; |
| 585 | 592 |
| 586 } // namespace blink | 593 } // namespace blink |
| 587 | 594 |
| 588 #endif | 595 #endif |
| OLD | NEW |