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

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

Issue 429853002: IDL: Add build target for IDL dictionary impl generation in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #include "core/page/Page.h" 102 #include "core/page/Page.h"
103 #include "core/page/PagePopupController.h" 103 #include "core/page/PagePopupController.h"
104 #include "core/page/PrintContext.h" 104 #include "core/page/PrintContext.h"
105 #include "core/rendering/RenderLayer.h" 105 #include "core/rendering/RenderLayer.h"
106 #include "core/rendering/RenderMenuList.h" 106 #include "core/rendering/RenderMenuList.h"
107 #include "core/rendering/RenderObject.h" 107 #include "core/rendering/RenderObject.h"
108 #include "core/rendering/RenderTreeAsText.h" 108 #include "core/rendering/RenderTreeAsText.h"
109 #include "core/rendering/RenderView.h" 109 #include "core/rendering/RenderView.h"
110 #include "core/rendering/compositing/CompositedLayerMapping.h" 110 #include "core/rendering/compositing/CompositedLayerMapping.h"
111 #include "core/rendering/compositing/RenderLayerCompositor.h" 111 #include "core/rendering/compositing/RenderLayerCompositor.h"
112 #include "core/testing/DictionaryTest.h"
112 #include "core/testing/GCObservation.h" 113 #include "core/testing/GCObservation.h"
113 #include "core/testing/InternalProfilers.h" 114 #include "core/testing/InternalProfilers.h"
114 #include "core/testing/InternalSettings.h" 115 #include "core/testing/InternalSettings.h"
115 #include "core/testing/LayerRect.h" 116 #include "core/testing/LayerRect.h"
116 #include "core/testing/LayerRectList.h" 117 #include "core/testing/LayerRectList.h"
117 #include "core/testing/MockPagePopupDriver.h" 118 #include "core/testing/MockPagePopupDriver.h"
118 #include "core/testing/PrivateScriptTest.h" 119 #include "core/testing/PrivateScriptTest.h"
119 #include "core/testing/TypeConversions.h" 120 #include "core/testing/TypeConversions.h"
120 #include "core/workers/WorkerThread.h" 121 #include "core/workers/WorkerThread.h"
121 #include "platform/Cursor.h" 122 #include "platform/Cursor.h"
(...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const 1740 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const
1740 { 1741 {
1741 return TypeConversions::create(); 1742 return TypeConversions::create();
1742 } 1743 }
1743 1744
1744 PrivateScriptTest* Internals::privateScriptTest() const 1745 PrivateScriptTest* Internals::privateScriptTest() const
1745 { 1746 {
1746 return PrivateScriptTest::create(frame()); 1747 return PrivateScriptTest::create(frame());
1747 } 1748 }
1748 1749
1750 DictionaryTest* Internals::dictionaryTest() const
1751 {
1752 return DictionaryTest::create();
1753 }
1754
1749 Vector<String> Internals::getReferencedFilePaths() const 1755 Vector<String> Internals::getReferencedFilePaths() const
1750 { 1756 {
1751 return frame()->loader().currentItem()->getReferencedFilePaths(); 1757 return frame()->loader().currentItem()->getReferencedFilePaths();
1752 } 1758 }
1753 1759
1754 void Internals::startTrackingRepaints(Document* document, ExceptionState& except ionState) 1760 void Internals::startTrackingRepaints(Document* document, ExceptionState& except ionState)
1755 { 1761 {
1756 ASSERT(document); 1762 ASSERT(document);
1757 if (!document->view()) { 1763 if (!document->view()) {
1758 exceptionState.throwDOMException(InvalidAccessError, "The document provi ded is invalid."); 1764 exceptionState.throwDOMException(InvalidAccessError, "The document provi ded is invalid.");
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
2219 } 2225 }
2220 if (!element->isPluginElement()) { 2226 if (!element->isPluginElement()) {
2221 exceptionState.throwDOMException(InvalidNodeTypeError, "The element prov ided is not a plugin."); 2227 exceptionState.throwDOMException(InvalidNodeTypeError, "The element prov ided is not a plugin.");
2222 return; 2228 return;
2223 } 2229 }
2224 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState ); 2230 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState );
2225 toHTMLPlugInElement(element)->setUsePlaceholderContent(true); 2231 toHTMLPlugInElement(element)->setUsePlaceholderContent(true);
2226 } 2232 }
2227 2233
2228 } // namespace blink 2234 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698