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; | |
61 class WebColorChooser; | 60 class WebColorChooser; |
62 class WebColorChooserClient; | 61 class WebColorChooserClient; |
63 class WebContentDecryptionModule; | 62 class WebContentDecryptionModule; |
64 class WebCookieJar; | 63 class WebCookieJar; |
65 class WebDataSource; | 64 class WebDataSource; |
66 class WebDOMEvent; | 65 class WebDOMEvent; |
67 class WebExternalPopupMenu; | 66 class WebExternalPopupMenu; |
68 class WebExternalPopupMenuClient; | 67 class WebExternalPopupMenuClient; |
69 class WebFormElement; | 68 class WebFormElement; |
70 class WebGeolocationClient; | 69 class WebGeolocationClient; |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 // Requests permission to display platform notifications on the origin of th
is frame. | 329 // Requests permission to display platform notifications on the origin of th
is frame. |
331 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } | 330 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } |
332 | 331 |
333 // Called to retrieve the provider of desktop notifications. | 332 // Called to retrieve the provider of desktop notifications. |
334 // FIXME: Remove this method once the presenter is obtained through Platform
. | 333 // FIXME: Remove this method once the presenter is obtained through Platform
. |
335 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 334 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
336 | 335 |
337 | 336 |
338 // Push API --------------------------------------------------- | 337 // Push API --------------------------------------------------- |
339 | 338 |
340 // Requests permission to use the Push API in the origin of this frame. | |
341 // FIXME: Merge this into WebPushClient as it's not going away as originally
planned. | |
342 virtual void requestPushPermission(WebCallback* callback) { } | |
343 | |
344 // Used to access the embedder for the Push API. | 339 // Used to access the embedder for the Push API. |
345 virtual WebPushClient* pushClient() { return 0; } | 340 virtual WebPushClient* pushClient() { return 0; } |
346 | 341 |
347 | 342 |
348 // Editing ------------------------------------------------------------- | 343 // Editing ------------------------------------------------------------- |
349 | 344 |
350 // These methods allow the client to intercept and overrule editing | 345 // These methods allow the client to intercept and overrule editing |
351 // operations. | 346 // operations. |
352 virtual void didChangeSelection(bool isSelectionEmpty) { } | 347 virtual void didChangeSelection(bool isSelectionEmpty) { } |
353 | 348 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 // associated with the WebDataSource. | 594 // associated with the WebDataSource. |
600 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 595 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
601 | 596 |
602 protected: | 597 protected: |
603 virtual ~WebFrameClient() { } | 598 virtual ~WebFrameClient() { } |
604 }; | 599 }; |
605 | 600 |
606 } // namespace blink | 601 } // namespace blink |
607 | 602 |
608 #endif | 603 #endif |
OLD | NEW |