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

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
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('k') | Source/core/testing/PrivateScriptTest.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) 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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme); 1787 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme);
1788 } 1788 }
1789 1789
1790 TypeConversions* Internals::typeConversions() const 1790 TypeConversions* Internals::typeConversions() const
1791 { 1791 {
1792 return TypeConversions::create(); 1792 return TypeConversions::create();
1793 } 1793 }
1794 1794
1795 PrivateScriptTest* Internals::privateScriptTest() const 1795 PrivateScriptTest* Internals::privateScriptTest() const
1796 { 1796 {
1797 return PrivateScriptTest::create(frame()); 1797 return PrivateScriptTest::create(frame()->document());
1798 } 1798 }
1799 1799
1800 DictionaryTest* Internals::dictionaryTest() const 1800 DictionaryTest* Internals::dictionaryTest() const
1801 { 1801 {
1802 return DictionaryTest::create(); 1802 return DictionaryTest::create();
1803 } 1803 }
1804 1804
1805 Vector<String> Internals::getReferencedFilePaths() const 1805 Vector<String> Internals::getReferencedFilePaths() const
1806 { 1806 {
1807 return frame()->loader().currentItem()->getReferencedFilePaths(); 1807 return frame()->loader().currentItem()->getReferencedFilePaths();
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 } 2284 }
2285 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr eate(element->document(), options)); 2285 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr eate(element->document(), options));
2286 } 2286 }
2287 2287
2288 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState) 2288 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState)
2289 { 2289 {
2290 return new InternalsIterator; 2290 return new InternalsIterator;
2291 } 2291 }
2292 2292
2293 } // namespace blink 2293 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('k') | Source/core/testing/PrivateScriptTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698