| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "sky/engine/config.h" | 31 #include "sky/engine/config.h" |
| 32 #include "sky/engine/bindings/core/v8/WindowProxy.h" | 32 #include "sky/engine/bindings/core/v8/WindowProxy.h" |
| 33 | 33 |
| 34 #include <algorithm> | 34 #include <algorithm> |
| 35 #include <utility> | 35 #include <utility> |
| 36 | 36 |
| 37 #include "bindings/core/v8/V8Document.h" | 37 #include "bindings/core/v8/V8Document.h" |
| 38 #include "bindings/core/v8/V8HTMLDocument.h" | |
| 39 #include "bindings/core/v8/V8Window.h" | 38 #include "bindings/core/v8/V8Window.h" |
| 40 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 39 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 41 #include "sky/engine/bindings/core/v8/DOMWrapperWorld.h" | 40 #include "sky/engine/bindings/core/v8/DOMWrapperWorld.h" |
| 42 #include "sky/engine/bindings/core/v8/ScriptController.h" | 41 #include "sky/engine/bindings/core/v8/ScriptController.h" |
| 43 #include "sky/engine/bindings/core/v8/V8Binding.h" | 42 #include "sky/engine/bindings/core/v8/V8Binding.h" |
| 44 #include "sky/engine/bindings/core/v8/V8GCForContextDispose.h" | 43 #include "sky/engine/bindings/core/v8/V8GCForContextDispose.h" |
| 45 #include "sky/engine/bindings/core/v8/V8HiddenValue.h" | 44 #include "sky/engine/bindings/core/v8/V8HiddenValue.h" |
| 46 #include "sky/engine/bindings/core/v8/V8Initializer.h" | 45 #include "sky/engine/bindings/core/v8/V8Initializer.h" |
| 47 #include "sky/engine/bindings/core/v8/V8ObjectConstructor.h" | 46 #include "sky/engine/bindings/core/v8/V8ObjectConstructor.h" |
| 48 #include "sky/engine/core/frame/LocalFrame.h" | 47 #include "sky/engine/core/frame/LocalFrame.h" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 { | 295 { |
| 297 ASSERT(m_world->isMainWorld()); | 296 ASSERT(m_world->isMainWorld()); |
| 298 if (!isGlobalInitialized()) | 297 if (!isGlobalInitialized()) |
| 299 return; | 298 return; |
| 300 if (!isContextInitialized()) | 299 if (!isContextInitialized()) |
| 301 return; | 300 return; |
| 302 updateDocumentProperty(); | 301 updateDocumentProperty(); |
| 303 } | 302 } |
| 304 | 303 |
| 305 } // namespace blink | 304 } // namespace blink |
| OLD | NEW |