| 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 allowContentInitiatedDataUrlNavigations(const KURL&) { |
| 240 return false; |
| 241 } |
| 242 |
| 237 virtual WebCookieJar* cookieJar() const = 0; | 243 virtual WebCookieJar* cookieJar() const = 0; |
| 238 | 244 |
| 239 virtual void didChangeName(const String&) {} | 245 virtual void didChangeName(const String&) {} |
| 240 | 246 |
| 241 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 247 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
| 242 | 248 |
| 243 virtual void didUpdateToUniqueOrigin() {} | 249 virtual void didUpdateToUniqueOrigin() {} |
| 244 | 250 |
| 245 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 251 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
| 246 | 252 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 virtual void setHasReceivedUserGesture() {} | 320 virtual void setHasReceivedUserGesture() {} |
| 315 | 321 |
| 316 virtual void abortClientNavigation() {} | 322 virtual void abortClientNavigation() {} |
| 317 | 323 |
| 318 virtual TextCheckerClient& textCheckerClient() const = 0; | 324 virtual TextCheckerClient& textCheckerClient() const = 0; |
| 319 }; | 325 }; |
| 320 | 326 |
| 321 } // namespace blink | 327 } // namespace blink |
| 322 | 328 |
| 323 #endif // LocalFrameClient_h | 329 #endif // LocalFrameClient_h |
| OLD | NEW |