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) |