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

Side by Side Diff: Source/core/testing/Internals.cpp

Issue 654583003: Use the Document rather than the Frame's execution context to install JS-based marquee elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 2 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after
1786 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme); 1786 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme);
1787 } 1787 }
1788 1788
1789 TypeConversions* Internals::typeConversions() const 1789 TypeConversions* Internals::typeConversions() const
1790 { 1790 {
1791 return TypeConversions::create(); 1791 return TypeConversions::create();
1792 } 1792 }
1793 1793
1794 PrivateScriptTest* Internals::privateScriptTest() const 1794 PrivateScriptTest* Internals::privateScriptTest() const
1795 { 1795 {
1796 return PrivateScriptTest::create(frame()); 1796 return PrivateScriptTest::create(frame()->document());
1797 } 1797 }
1798 1798
1799 DictionaryTest* Internals::dictionaryTest() const 1799 DictionaryTest* Internals::dictionaryTest() const
1800 { 1800 {
1801 return DictionaryTest::create(); 1801 return DictionaryTest::create();
1802 } 1802 }
1803 1803
1804 Vector<String> Internals::getReferencedFilePaths() const 1804 Vector<String> Internals::getReferencedFilePaths() const
1805 { 1805 {
1806 return frame()->loader().currentItem()->getReferencedFilePaths(); 1806 return frame()->loader().currentItem()->getReferencedFilePaths();
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2283 } 2283 }
2284 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr eate(element->document(), options)); 2284 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr eate(element->document(), options));
2285 } 2285 }
2286 2286
2287 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState) 2287 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState)
2288 { 2288 {
2289 return new InternalsIterator; 2289 return new InternalsIterator;
2290 } 2290 }
2291 2291
2292 } // namespace blink 2292 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698