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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "public/platform/WebURLError.h" | 56 #include "public/platform/WebURLError.h" |
57 #include "public/platform/WebURLRequest.h" | 57 #include "public/platform/WebURLRequest.h" |
58 #include <v8.h> | 58 #include <v8.h> |
59 | 59 |
60 namespace blink { | 60 namespace blink { |
61 | 61 |
62 enum class WebTreeScopeType; | 62 enum class WebTreeScopeType; |
63 class WebApplicationCacheHost; | 63 class WebApplicationCacheHost; |
64 class WebApplicationCacheHostClient; | 64 class WebApplicationCacheHostClient; |
65 class WebAppBannerClient; | 65 class WebAppBannerClient; |
| 66 class WebBlameContext; |
66 class WebBluetooth; | 67 class WebBluetooth; |
67 class WebColorChooser; | 68 class WebColorChooser; |
68 class WebColorChooserClient; | 69 class WebColorChooserClient; |
69 class WebContentDecryptionModule; | 70 class WebContentDecryptionModule; |
70 class WebCookieJar; | 71 class WebCookieJar; |
71 class WebCString; | 72 class WebCString; |
72 class WebDataSource; | 73 class WebDataSource; |
73 class WebEncryptedMediaClient; | 74 class WebEncryptedMediaClient; |
74 class WebExternalPopupMenu; | 75 class WebExternalPopupMenu; |
75 class WebExternalPopupMenuClient; | 76 class WebExternalPopupMenuClient; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual WebExternalPopupMenu* createExternalPopupMenu( | 133 virtual WebExternalPopupMenu* createExternalPopupMenu( |
133 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } | 134 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } |
134 | 135 |
135 | 136 |
136 // Services ------------------------------------------------------------ | 137 // Services ------------------------------------------------------------ |
137 | 138 |
138 // A frame specific cookie jar. May return null, in which case | 139 // A frame specific cookie jar. May return null, in which case |
139 // WebKitPlatformSupport::cookieJar() will be called to access cookies. | 140 // WebKitPlatformSupport::cookieJar() will be called to access cookies. |
140 virtual WebCookieJar* cookieJar() { return 0; } | 141 virtual WebCookieJar* cookieJar() { return 0; } |
141 | 142 |
| 143 // Returns a blame context for attributing work belonging to this frame. |
| 144 virtual WebBlameContext* frameBlameContext() { return nullptr; } |
142 | 145 |
143 // General notifications ----------------------------------------------- | 146 // General notifications ----------------------------------------------- |
144 | 147 |
145 // Indicates if creating a plugin without an associated renderer is supporte
d. | 148 // Indicates if creating a plugin without an associated renderer is supporte
d. |
146 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret
urn false; } | 149 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret
urn false; } |
147 | 150 |
148 // Indicates that another page has accessed the DOM of the initial empty | 151 // Indicates that another page has accessed the DOM of the initial empty |
149 // document of a main frame. After this, it is no longer safe to show a | 152 // document of a main frame. After this, it is no longer safe to show a |
150 // pending navigation's URL, because a URL spoof is possible. | 153 // pending navigation's URL, because a URL spoof is possible. |
151 virtual void didAccessInitialDocument() { } | 154 virtual void didAccessInitialDocument() { } |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 // This method takes ownership of the callbacks pointer. | 702 // This method takes ownership of the callbacks pointer. |
700 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 703 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
701 | 704 |
702 protected: | 705 protected: |
703 virtual ~WebFrameClient() { } | 706 virtual ~WebFrameClient() { } |
704 }; | 707 }; |
705 | 708 |
706 } // namespace blink | 709 } // namespace blink |
707 | 710 |
708 #endif | 711 #endif |
OLD | NEW |