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 27 matching lines...) Expand all Loading... |
38 #include "WebFrame.h" | 38 #include "WebFrame.h" |
39 #include "WebFrameOwnerProperties.h" | 39 #include "WebFrameOwnerProperties.h" |
40 #include "WebHistoryCommitType.h" | 40 #include "WebHistoryCommitType.h" |
41 #include "WebHistoryItem.h" | 41 #include "WebHistoryItem.h" |
42 #include "WebIconURL.h" | 42 #include "WebIconURL.h" |
43 #include "WebNavigationPolicy.h" | 43 #include "WebNavigationPolicy.h" |
44 #include "WebNavigationType.h" | 44 #include "WebNavigationType.h" |
45 #include "WebNavigatorContentUtilsClient.h" | 45 #include "WebNavigatorContentUtilsClient.h" |
46 #include "WebSandboxFlags.h" | 46 #include "WebSandboxFlags.h" |
47 #include "WebTextDirection.h" | 47 #include "WebTextDirection.h" |
| 48 #include "public/platform/BlameContext.h" |
48 #include "public/platform/WebCommon.h" | 49 #include "public/platform/WebCommon.h" |
49 #include "public/platform/WebFileSystem.h" | 50 #include "public/platform/WebFileSystem.h" |
50 #include "public/platform/WebFileSystemType.h" | 51 #include "public/platform/WebFileSystemType.h" |
51 #include "public/platform/WebSecurityOrigin.h" | 52 #include "public/platform/WebSecurityOrigin.h" |
52 #include "public/platform/WebSetSinkIdCallbacks.h" | 53 #include "public/platform/WebSetSinkIdCallbacks.h" |
53 #include "public/platform/WebStorageQuotaCallbacks.h" | 54 #include "public/platform/WebStorageQuotaCallbacks.h" |
54 #include "public/platform/WebStorageQuotaType.h" | 55 #include "public/platform/WebStorageQuotaType.h" |
55 #include "public/platform/WebURLError.h" | 56 #include "public/platform/WebURLError.h" |
56 #include "public/platform/WebURLRequest.h" | 57 #include "public/platform/WebURLRequest.h" |
57 #include <v8.h> | 58 #include <v8.h> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual WebExternalPopupMenu* createExternalPopupMenu( | 134 virtual WebExternalPopupMenu* createExternalPopupMenu( |
134 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } | 135 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } |
135 | 136 |
136 | 137 |
137 // Services ------------------------------------------------------------ | 138 // Services ------------------------------------------------------------ |
138 | 139 |
139 // A frame specific cookie jar. May return null, in which case | 140 // A frame specific cookie jar. May return null, in which case |
140 // WebKitPlatformSupport::cookieJar() will be called to access cookies. | 141 // WebKitPlatformSupport::cookieJar() will be called to access cookies. |
141 virtual WebCookieJar* cookieJar() { return 0; } | 142 virtual WebCookieJar* cookieJar() { return 0; } |
142 | 143 |
| 144 // Returns a blame context for attributing work belonging to this frame. |
| 145 virtual BlameContext* frameBlameContext() { return nullptr; } |
143 | 146 |
144 // General notifications ----------------------------------------------- | 147 // General notifications ----------------------------------------------- |
145 | 148 |
146 // Indicates if creating a plugin without an associated renderer is supporte
d. | 149 // Indicates if creating a plugin without an associated renderer is supporte
d. |
147 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret
urn false; } | 150 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret
urn false; } |
148 | 151 |
149 // Indicates that another page has accessed the DOM of the initial empty | 152 // Indicates that another page has accessed the DOM of the initial empty |
150 // document of a main frame. After this, it is no longer safe to show a | 153 // document of a main frame. After this, it is no longer safe to show a |
151 // pending navigation's URL, because a URL spoof is possible. | 154 // pending navigation's URL, because a URL spoof is possible. |
152 virtual void didAccessInitialDocument() { } | 155 virtual void didAccessInitialDocument() { } |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 // This method takes ownership of the callbacks pointer. | 723 // This method takes ownership of the callbacks pointer. |
721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
722 | 725 |
723 protected: | 726 protected: |
724 virtual ~WebFrameClient() { } | 727 virtual ~WebFrameClient() { } |
725 }; | 728 }; |
726 | 729 |
727 } // namespace blink | 730 } // namespace blink |
728 | 731 |
729 #endif | 732 #endif |
OLD | NEW |