OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 virtual void runScriptsAtDocumentIdle() = 0; | 227 virtual void runScriptsAtDocumentIdle() = 0; |
228 | 228 |
229 virtual void didCreateScriptContext(v8::Local<v8::Context>, int worldId) = 0; | 229 virtual void didCreateScriptContext(v8::Local<v8::Context>, int worldId) = 0; |
230 virtual void willReleaseScriptContext(v8::Local<v8::Context>, | 230 virtual void willReleaseScriptContext(v8::Local<v8::Context>, |
231 int worldId) = 0; | 231 int worldId) = 0; |
232 virtual bool allowScriptExtensions() = 0; | 232 virtual bool allowScriptExtensions() = 0; |
233 | 233 |
234 virtual void didChangeScrollOffset() {} | 234 virtual void didChangeScrollOffset() {} |
235 virtual void didUpdateCurrentHistoryItem() {} | 235 virtual void didUpdateCurrentHistoryItem() {} |
236 | 236 |
| 237 // Called when a content-initiated, main frame navigation to a data URL is |
| 238 // about to occur. |
| 239 virtual bool allowInsecureDataUrlNavigations(const KURL&) { return false; } |
| 240 |
237 virtual WebCookieJar* cookieJar() const = 0; | 241 virtual WebCookieJar* cookieJar() const = 0; |
238 | 242 |
239 virtual void didChangeName(const String&) {} | 243 virtual void didChangeName(const String&) {} |
240 | 244 |
241 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 245 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
242 | 246 |
243 virtual void didUpdateToUniqueOrigin() {} | 247 virtual void didUpdateToUniqueOrigin() {} |
244 | 248 |
245 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 249 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
246 | 250 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 virtual void setHasReceivedUserGesture() {} | 318 virtual void setHasReceivedUserGesture() {} |
315 | 319 |
316 virtual void abortClientNavigation() {} | 320 virtual void abortClientNavigation() {} |
317 | 321 |
318 virtual TextCheckerClient& textCheckerClient() const = 0; | 322 virtual TextCheckerClient& textCheckerClient() const = 0; |
319 }; | 323 }; |
320 | 324 |
321 } // namespace blink | 325 } // namespace blink |
322 | 326 |
323 #endif // LocalFrameClient_h | 327 #endif // LocalFrameClient_h |
OLD | NEW |