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

Side by Side Diff: Source/core/inspector/CodeGeneratorInspectorStrings.py

Issue 25447002: Move JSONValues.cpp/.h to Source/platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 # Copyright (c) 2013 Google Inc. All rights reserved. 1 # Copyright (c) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 sendIfActive(0, error, errorDataValue.release()); 94 sendIfActive(0, error, errorDataValue.release());
95 } 95 }
96 """) 96 """)
97 97
98 98
99 frontend_h = ( 99 frontend_h = (
100 """#ifndef InspectorFrontend_h 100 """#ifndef InspectorFrontend_h
101 #define InspectorFrontend_h 101 #define InspectorFrontend_h
102 102
103 #include "InspectorTypeBuilder.h" 103 #include "InspectorTypeBuilder.h"
104 #include "core/platform/JSONValues.h" 104 #include "platform/JSONValues.h"
105 #include "wtf/PassRefPtr.h" 105 #include "wtf/PassRefPtr.h"
106 #include "wtf/text/WTFString.h" 106 #include "wtf/text/WTFString.h"
107 107
108 namespace WebCore { 108 namespace WebCore {
109 109
110 class InspectorFrontendChannel; 110 class InspectorFrontendChannel;
111 111
112 typedef String ErrorString; 112 typedef String ErrorString;
113 113
114 class InspectorFrontend { 114 class InspectorFrontend {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 backend_cpp = ( 208 backend_cpp = (
209 """ 209 """
210 210
211 #include "config.h" 211 #include "config.h"
212 #include "InspectorBackendDispatcher.h" 212 #include "InspectorBackendDispatcher.h"
213 213
214 #include "core/inspector/InspectorAgent.h" 214 #include "core/inspector/InspectorAgent.h"
215 #include "core/inspector/InspectorFrontendChannel.h" 215 #include "core/inspector/InspectorFrontendChannel.h"
216 #include "core/inspector/JSONParser.h" 216 #include "core/inspector/JSONParser.h"
217 #include "core/platform/JSONValues.h" 217 #include "platform/JSONValues.h"
218 #include "wtf/text/CString.h" 218 #include "wtf/text/CString.h"
219 #include "wtf/text/WTFString.h" 219 #include "wtf/text/WTFString.h"
220 220
221 namespace WebCore { 221 namespace WebCore {
222 222
223 const char* InspectorBackendDispatcher::commandNames[] = { 223 const char* InspectorBackendDispatcher::commandNames[] = {
224 $methodNameDeclarations 224 $methodNameDeclarations
225 }; 225 };
226 226
227 227
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 509
510 """) 510 """)
511 511
512 frontend_cpp = ( 512 frontend_cpp = (
513 """ 513 """
514 514
515 #include "config.h" 515 #include "config.h"
516 #include "InspectorFrontend.h" 516 #include "InspectorFrontend.h"
517 517
518 #include "core/inspector/InspectorFrontendChannel.h" 518 #include "core/inspector/InspectorFrontendChannel.h"
519 #include "core/platform/JSONValues.h" 519 #include "platform/JSONValues.h"
520 #include "wtf/text/CString.h" 520 #include "wtf/text/CString.h"
521 #include "wtf/text/WTFString.h" 521 #include "wtf/text/WTFString.h"
522 522
523 namespace WebCore { 523 namespace WebCore {
524 524
525 InspectorFrontend::InspectorFrontend(InspectorFrontendChannel* inspectorFrontend Channel) 525 InspectorFrontend::InspectorFrontend(InspectorFrontendChannel* inspectorFrontend Channel)
526 : $constructorInit{ 526 : $constructorInit{
527 } 527 }
528 528
529 $methods 529 $methods
530 530
531 } // namespace WebCore 531 } // namespace WebCore
532 532
533 """) 533 """)
534 534
535 typebuilder_h = ( 535 typebuilder_h = (
536 """ 536 """
537 #ifndef InspectorTypeBuilder_h 537 #ifndef InspectorTypeBuilder_h
538 #define InspectorTypeBuilder_h 538 #define InspectorTypeBuilder_h
539 539
540 #include "core/platform/JSONValues.h" 540 #include "platform/JSONValues.h"
541 #include "wtf/Assertions.h" 541 #include "wtf/Assertions.h"
542 #include "wtf/PassRefPtr.h" 542 #include "wtf/PassRefPtr.h"
543 543
544 namespace WebCore { 544 namespace WebCore {
545 545
546 namespace TypeBuilder { 546 namespace TypeBuilder {
547 547
548 template<typename T> 548 template<typename T>
549 class OptOutput { 549 class OptOutput {
550 public: 550 public:
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 }; 931 };
932 932
933 """) 933 """)
934 934
935 class_binding_builder_part_4 = ( 935 class_binding_builder_part_4 = (
936 """ static Builder<NoFieldsSet> create() 936 """ static Builder<NoFieldsSet> create()
937 { 937 {
938 return Builder<NoFieldsSet>(JSONObject::create()); 938 return Builder<NoFieldsSet>(JSONObject::create());
939 } 939 }
940 """) 940 """)
OLDNEW
« no previous file with comments | « Source/core/html/parser/XSSAuditorDelegate.cpp ('k') | Source/core/inspector/InjectedScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698