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

Unified Diff: sky/engine/core/inspector/ScriptBreakpoint.h

Issue 723773002: Bring back ScriptDebugServer and associated machinery (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/inspector/JavaScriptCallFrame.idl ('k') | sky/engine/core/inspector/ScriptDebugListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/ScriptBreakpoint.h
diff --git a/sky/engine/core/inspector/BindingVisitors.h b/sky/engine/core/inspector/ScriptBreakpoint.h
similarity index 73%
copy from sky/engine/core/inspector/BindingVisitors.h
copy to sky/engine/core/inspector/ScriptBreakpoint.h
index 77ee458269de342e91657300cf80de37cedc8058..4834223330997bcf936f22f13fd0062da572a56c 100644
--- a/sky/engine/core/inspector/BindingVisitors.h
+++ b/sky/engine/core/inspector/ScriptBreakpoint.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
+ * Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -26,32 +27,30 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef BindingVisitors_h
-#define BindingVisitors_h
+#ifndef ScriptBreakpoint_h
+#define ScriptBreakpoint_h
-namespace WTF {
-class ArrayBufferView;
-class StringImpl;
-}
+#include "wtf/text/WTFString.h"
namespace blink {
-class Node;
-
-class WrappedNodeVisitor {
-public:
- virtual void visitNode(Node*) = 0;
-protected:
- virtual ~WrappedNodeVisitor() { }
-};
-
-class ExternalStringVisitor {
-public:
- virtual void visitJSExternalString(WTF::StringImpl*) = 0;
-protected:
- virtual ~ExternalStringVisitor() { }
+struct ScriptBreakpoint {
+ ScriptBreakpoint()
+ {
+ }
+
+ ScriptBreakpoint(int lineNumber, int columnNumber, const String& condition)
+ : lineNumber(lineNumber)
+ , columnNumber(columnNumber)
+ , condition(condition)
+ {
+ }
+
+ int lineNumber;
+ int columnNumber;
+ String condition;
};
} // namespace blink
-#endif // BindingVisitors_h
+#endif // !defined(ScriptBreakpoint_h)
« no previous file with comments | « sky/engine/core/inspector/JavaScriptCallFrame.idl ('k') | sky/engine/core/inspector/ScriptDebugListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698