OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void setPausedInDebuggerMessage(const String*) = 0; | 48 virtual void setPausedInDebuggerMessage(const String*) = 0; |
49 virtual void setInspectModeEnabled(bool) = 0; | 49 virtual void setInspectModeEnabled(bool) = 0; |
50 virtual void hideHighlight() = 0; | 50 virtual void hideHighlight() = 0; |
51 virtual void highlightNode(Node*, Node* eventTarget, const InspectorHighligh
tConfig&, bool omitTooltip) = 0; | 51 virtual void highlightNode(Node*, Node* eventTarget, const InspectorHighligh
tConfig&, bool omitTooltip) = 0; |
52 virtual void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightCo
nfig&) = 0; | 52 virtual void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightCo
nfig&) = 0; |
53 virtual void showAndHideViewSize(bool showGrid) = 0; | 53 virtual void showAndHideViewSize(bool showGrid) = 0; |
54 virtual void suspendUpdates() = 0; | 54 virtual void suspendUpdates() = 0; |
55 virtual void resumeUpdates() = 0; | 55 virtual void resumeUpdates() = 0; |
56 virtual void clear() = 0; | 56 virtual void clear() = 0; |
57 virtual void setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor>) = 0; | 57 virtual void setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor>) = 0; |
| 58 virtual void showLayoutEditorForNode(Node*, const InspectorHighlightConfig&)
; |
58 | 59 |
59 DEFINE_INLINE_VIRTUAL_TRACE() { } | 60 DEFINE_INLINE_VIRTUAL_TRACE() { } |
60 | 61 |
61 class CORE_EXPORT Listener : public WillBeGarbageCollectedMixin { | 62 class CORE_EXPORT Listener : public WillBeGarbageCollectedMixin { |
62 public: | 63 public: |
63 virtual ~Listener() { } | 64 virtual ~Listener() { } |
64 virtual void overlayResumed() = 0; | 65 virtual void overlayResumed() = 0; |
65 virtual void overlaySteppedOver() = 0; | 66 virtual void overlaySteppedOver() = 0; |
66 }; | 67 }; |
67 virtual void setListener(Listener*) = 0; | 68 virtual void setListener(Listener*) = 0; |
68 }; | 69 }; |
69 | 70 |
70 } // namespace blink | 71 } // namespace blink |
71 | 72 |
72 | 73 |
73 #endif // InspectorOverlay_h | 74 #endif // InspectorOverlay_h |
OLD | NEW |