| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; | 218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; |
| 219 | 219 |
| 220 virtual void didCreateScriptContext(v8::Local<v8::Context>, | 220 virtual void didCreateScriptContext(v8::Local<v8::Context>, |
| 221 int worldId) = 0; | 221 int worldId) = 0; |
| 222 virtual void willReleaseScriptContext(v8::Local<v8::Context>, | 222 virtual void willReleaseScriptContext(v8::Local<v8::Context>, |
| 223 int worldId) = 0; | 223 int worldId) = 0; |
| 224 virtual bool allowScriptExtensions() = 0; | 224 virtual bool allowScriptExtensions() = 0; |
| 225 | 225 |
| 226 virtual void didChangeScrollOffset() {} | 226 virtual void didChangeScrollOffset() {} |
| 227 virtual void didUpdateCurrentHistoryItem() {} | 227 virtual void didUpdateCurrentHistoryItem() {} |
| 228 virtual void didRestorePageScaleFactorOnLoad(float pageScale) {} |
| 228 | 229 |
| 229 virtual bool allowScript(bool enabledPerSettings) { | 230 virtual bool allowScript(bool enabledPerSettings) { |
| 230 return enabledPerSettings; | 231 return enabledPerSettings; |
| 231 } | 232 } |
| 232 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { | 233 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { |
| 233 return enabledPerSettings; | 234 return enabledPerSettings; |
| 234 } | 235 } |
| 235 virtual bool allowPlugins(bool enabledPerSettings) { | 236 virtual bool allowPlugins(bool enabledPerSettings) { |
| 236 return enabledPerSettings; | 237 return enabledPerSettings; |
| 237 } | 238 } |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 339 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 339 | 340 |
| 340 virtual BlameContext* frameBlameContext() { return nullptr; } | 341 virtual BlameContext* frameBlameContext() { return nullptr; } |
| 341 | 342 |
| 342 virtual void setHasReceivedUserGesture() {} | 343 virtual void setHasReceivedUserGesture() {} |
| 343 }; | 344 }; |
| 344 | 345 |
| 345 } // namespace blink | 346 } // namespace blink |
| 346 | 347 |
| 347 #endif // FrameLoaderClient_h | 348 #endif // FrameLoaderClient_h |
| OLD | NEW |