Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: Source/bindings/v8/ScriptController.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/v8/DOMWrapperWorld.h ('k') | Source/bindings/v8/ScriptSourceCode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/bindings/v8/DOMWrapperWorld.h ('k') | Source/bindings/v8/ScriptSourceCode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698