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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 virtual void RunScriptsAtDocumentIdle() = 0; | 229 virtual void RunScriptsAtDocumentIdle() = 0; |
230 | 230 |
231 virtual void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) = 0; | 231 virtual void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) = 0; |
232 virtual void WillReleaseScriptContext(v8::Local<v8::Context>, | 232 virtual void WillReleaseScriptContext(v8::Local<v8::Context>, |
233 int world_id) = 0; | 233 int world_id) = 0; |
234 virtual bool AllowScriptExtensions() = 0; | 234 virtual bool AllowScriptExtensions() = 0; |
235 | 235 |
236 virtual void DidChangeScrollOffset() {} | 236 virtual void DidChangeScrollOffset() {} |
237 virtual void DidUpdateCurrentHistoryItem() {} | 237 virtual void DidUpdateCurrentHistoryItem() {} |
238 | 238 |
| 239 // Called when a content-initiated, main frame navigation to a data URL is |
| 240 // about to occur. |
| 241 virtual bool AllowContentInitiatedDataUrlNavigations(const KURL&) { |
| 242 return false; |
| 243 } |
| 244 |
239 virtual WebCookieJar* CookieJar() const = 0; | 245 virtual WebCookieJar* CookieJar() const = 0; |
240 | 246 |
241 virtual void DidChangeName(const String&) {} | 247 virtual void DidChangeName(const String&) {} |
242 | 248 |
243 virtual void DidEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 249 virtual void DidEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
244 | 250 |
245 virtual void DidUpdateToUniqueOrigin() {} | 251 virtual void DidUpdateToUniqueOrigin() {} |
246 | 252 |
247 virtual void DidChangeSandboxFlags(Frame* child_frame, SandboxFlags) {} | 253 virtual void DidChangeSandboxFlags(Frame* child_frame, SandboxFlags) {} |
248 | 254 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 virtual void SetHasReceivedUserGesture(bool received_previously) {} | 322 virtual void SetHasReceivedUserGesture(bool received_previously) {} |
317 | 323 |
318 virtual void AbortClientNavigation() {} | 324 virtual void AbortClientNavigation() {} |
319 | 325 |
320 virtual TextCheckerClient& GetTextCheckerClient() const = 0; | 326 virtual TextCheckerClient& GetTextCheckerClient() const = 0; |
321 }; | 327 }; |
322 | 328 |
323 } // namespace blink | 329 } // namespace blink |
324 | 330 |
325 #endif // LocalFrameClient_h | 331 #endif // LocalFrameClient_h |
OLD | NEW |