OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 #include "core/frame/ContentSecurityPolicy.h" | 64 #include "core/frame/ContentSecurityPolicy.h" |
65 #include "core/frame/DOMWindow.h" | 65 #include "core/frame/DOMWindow.h" |
66 #include "core/frame/Frame.h" | 66 #include "core/frame/Frame.h" |
67 #include "core/page/Page.h" | 67 #include "core/page/Page.h" |
68 #include "core/page/Settings.h" | 68 #include "core/page/Settings.h" |
69 #include "core/plugins/PluginView.h" | 69 #include "core/plugins/PluginView.h" |
70 #include "platform/NotImplemented.h" | 70 #include "platform/NotImplemented.h" |
71 #include "platform/TraceEvent.h" | 71 #include "platform/TraceEvent.h" |
72 #include "platform/UserGestureIndicator.h" | 72 #include "platform/UserGestureIndicator.h" |
73 #include "platform/Widget.h" | 73 #include "platform/Widget.h" |
| 74 #include "platform/weborigin/SecurityOrigin.h" |
74 #include "public/platform/Platform.h" | 75 #include "public/platform/Platform.h" |
75 #include "weborigin/SecurityOrigin.h" | |
76 #include "wtf/CurrentTime.h" | 76 #include "wtf/CurrentTime.h" |
77 #include "wtf/StdLibExtras.h" | 77 #include "wtf/StdLibExtras.h" |
78 #include "wtf/StringExtras.h" | 78 #include "wtf/StringExtras.h" |
79 #include "wtf/text/CString.h" | 79 #include "wtf/text/CString.h" |
80 #include "wtf/text/StringBuilder.h" | 80 #include "wtf/text/StringBuilder.h" |
81 #include "wtf/text/TextPosition.h" | 81 #include "wtf/text/TextPosition.h" |
82 | 82 |
83 namespace WebCore { | 83 namespace WebCore { |
84 | 84 |
85 bool ScriptController::canAccessFromCurrentOrigin(Frame *frame) | 85 bool ScriptController::canAccessFromCurrentOrigin(Frame *frame) |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 v8Results = evaluateHandleScope.Close(resultArray); | 687 v8Results = evaluateHandleScope.Close(resultArray); |
688 } | 688 } |
689 | 689 |
690 if (results && !v8Results.IsEmpty()) { | 690 if (results && !v8Results.IsEmpty()) { |
691 for (size_t i = 0; i < v8Results->Length(); ++i) | 691 for (size_t i = 0; i < v8Results->Length(); ++i) |
692 results->append(ScriptValue(v8Results->Get(i), m_isolate)); | 692 results->append(ScriptValue(v8Results->Get(i), m_isolate)); |
693 } | 693 } |
694 } | 694 } |
695 | 695 |
696 } // namespace WebCore | 696 } // namespace WebCore |
OLD | NEW |