OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "core/inspector/ScriptCallStack.h" | 52 #include "core/inspector/ScriptCallStack.h" |
53 #include "core/loader/FrameLoadRequest.h" | 53 #include "core/loader/FrameLoadRequest.h" |
54 #include "core/loader/FrameLoader.h" | 54 #include "core/loader/FrameLoader.h" |
55 #include "core/page/Chrome.h" | 55 #include "core/page/Chrome.h" |
56 #include "core/page/ContentSecurityPolicy.h" | 56 #include "core/page/ContentSecurityPolicy.h" |
57 #include "core/page/DOMTimer.h" | 57 #include "core/page/DOMTimer.h" |
58 #include "core/page/DOMWindow.h" | 58 #include "core/page/DOMWindow.h" |
59 #include "core/page/DOMWindowTimers.h" | 59 #include "core/page/DOMWindowTimers.h" |
60 #include "core/page/Frame.h" | 60 #include "core/page/Frame.h" |
61 #include "core/page/FrameView.h" | 61 #include "core/page/FrameView.h" |
62 #include "core/page/Location.h" | 62 #include "core/frame/Location.h" |
63 #include "core/page/Page.h" | 63 #include "core/page/Page.h" |
64 #include "core/page/Settings.h" | 64 #include "core/page/Settings.h" |
65 #include "core/page/WindowFeatures.h" | 65 #include "core/page/WindowFeatures.h" |
66 #include "core/platform/PlatformScreen.h" | 66 #include "core/platform/PlatformScreen.h" |
67 #include "core/platform/graphics/MediaPlayer.h" | 67 #include "core/platform/graphics/MediaPlayer.h" |
68 #include "core/storage/Storage.h" | 68 #include "core/storage/Storage.h" |
69 #include "core/workers/SharedWorkerRepository.h" | 69 #include "core/workers/SharedWorkerRepository.h" |
70 #include "wtf/ArrayBuffer.h" | 70 #include "wtf/ArrayBuffer.h" |
71 #include "wtf/OwnPtr.h" | 71 #include "wtf/OwnPtr.h" |
72 | 72 |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 v8::Handle<v8::Context> context = frame->script()->currentWorldContext(); | 549 v8::Handle<v8::Context> context = frame->script()->currentWorldContext(); |
550 if (context.IsEmpty()) | 550 if (context.IsEmpty()) |
551 return v8Undefined(); | 551 return v8Undefined(); |
552 | 552 |
553 v8::Handle<v8::Object> global = context->Global(); | 553 v8::Handle<v8::Object> global = context->Global(); |
554 ASSERT(!global.IsEmpty()); | 554 ASSERT(!global.IsEmpty()); |
555 return global; | 555 return global; |
556 } | 556 } |
557 | 557 |
558 } // namespace WebCore | 558 } // namespace WebCore |
OLD | NEW |