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

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: gyp fix (depends on gyp r1964) Created 6 years, 4 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
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 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const 1816 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const
1816 { 1817 {
1817 return TypeConversions::create(); 1818 return TypeConversions::create();
1818 } 1819 }
1819 1820
1820 PrivateScriptTest* Internals::privateScriptTest() const 1821 PrivateScriptTest* Internals::privateScriptTest() const
1821 { 1822 {
1822 return PrivateScriptTest::create(frame()); 1823 return PrivateScriptTest::create(frame());
1823 } 1824 }
1824 1825
1826 DictionaryTest* Internals::dictionaryTest() const
1827 {
1828 return DictionaryTest::create();
1829 }
1830
1825 Vector<String> Internals::getReferencedFilePaths() const 1831 Vector<String> Internals::getReferencedFilePaths() const
1826 { 1832 {
1827 return frame()->loader().currentItem()->getReferencedFilePaths(); 1833 return frame()->loader().currentItem()->getReferencedFilePaths();
1828 } 1834 }
1829 1835
1830 void Internals::startTrackingRepaints(Document* document, ExceptionState& except ionState) 1836 void Internals::startTrackingRepaints(Document* document, ExceptionState& except ionState)
1831 { 1837 {
1832 ASSERT(document); 1838 ASSERT(document);
1833 if (!document->view()) { 1839 if (!document->view()) {
1834 exceptionState.throwDOMException(InvalidAccessError, "The document provi ded is invalid."); 1840 exceptionState.throwDOMException(InvalidAccessError, "The document provi ded is invalid.");
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 2283
2278 StringBuilder markup; 2284 StringBuilder markup;
2279 Vector<Document::TransitionElementData>::iterator iter = elementData.begin() ; 2285 Vector<Document::TransitionElementData>::iterator iter = elementData.begin() ;
2280 for (; iter != elementData.end(); ++iter) 2286 for (; iter != elementData.end(); ++iter)
2281 markup.append(iter->markup); 2287 markup.append(iter->markup);
2282 2288
2283 return markup.toString(); 2289 return markup.toString();
2284 } 2290 }
2285 2291
2286 } // namespace blink 2292 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698