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

Unified Diff: inspector/CodeGeneratorInspectorStrings.py

Issue 14107003: Update WebKit IDLs after chrome roll. (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: reupload again. Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « inspector/CodeGeneratorInspector.py ('k') | inspector/InjectedScriptHost.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: inspector/CodeGeneratorInspectorStrings.py
diff --git a/inspector/CodeGeneratorInspectorStrings.py b/inspector/CodeGeneratorInspectorStrings.py
index f7204d1a3af3765a90077f7c2d942f1a43b61546..a0456040feaecaecec335b8afe927299e6102fcf 100644
--- a/inspector/CodeGeneratorInspectorStrings.py
+++ b/inspector/CodeGeneratorInspectorStrings.py
@@ -102,8 +102,6 @@ class InspectorObject;
typedef String ErrorString;
-#if ENABLE(INSPECTOR)
-
class InspectorFrontend {
public:
InspectorFrontend(InspectorFrontendChannel*);
@@ -113,8 +111,6 @@ $domainClassList
private:
${fieldDeclarations}};
-#endif // ENABLE(INSPECTOR)
-
} // namespace WebCore
#endif // !defined(InspectorFrontend_h)
""")
@@ -123,10 +119,11 @@ backend_h = (
"""#ifndef InspectorBackendDispatcher_h
#define InspectorBackendDispatcher_h
+#include "InspectorTypeBuilder.h"
+
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
-#include "InspectorTypeBuilder.h"
namespace WebCore {
@@ -203,16 +200,13 @@ backend_cpp = (
"""
#include "config.h"
-
-#if ENABLE(INSPECTOR)
-
#include "InspectorBackendDispatcher.h"
-#include <wtf/text/WTFString.h>
-#include <wtf/text/CString.h>
+
#include "InspectorAgent.h"
-#include "InspectorValues.h"
#include "InspectorFrontendChannel.h"
+#include "InspectorValues.h"
+#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
@@ -504,21 +498,18 @@ COMPILE_ASSERT(static_cast<int>(InspectorBackendDispatcher::kMethodNamesEnumSize
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
""")
frontend_cpp = (
"""
#include "config.h"
-#if ENABLE(INSPECTOR)
#include "InspectorFrontend.h"
-#include <wtf/text/WTFString.h>
-#include <wtf/text/CString.h>
-
#include "InspectorFrontendChannel.h"
#include "InspectorValues.h"
+
+#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
@@ -531,7 +522,6 @@ $methods
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
""")
typebuilder_h = (
@@ -539,9 +529,8 @@ typebuilder_h = (
#ifndef InspectorTypeBuilder_h
#define InspectorTypeBuilder_h
-#if ENABLE(INSPECTOR)
-
#include "InspectorValues.h"
+
#include <wtf/Assertions.h>
#include <wtf/PassRefPtr.h>
@@ -831,8 +820,6 @@ ${typeBuilders}
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
-
#endif // !defined(InspectorTypeBuilder_h)
""")
@@ -841,9 +828,9 @@ typebuilder_cpp = (
"""
#include "config.h"
-#if ENABLE(INSPECTOR)
#include "InspectorTypeBuilder.h"
+
#include <wtf/text/CString.h>
namespace WebCore {
@@ -883,7 +870,6 @@ $validatorCode
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
""")
backend_js = (
« no previous file with comments | « inspector/CodeGeneratorInspector.py ('k') | inspector/InjectedScriptHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698