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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 void setInspectModeEnabled(bool) override; | 78 void setInspectModeEnabled(bool) override; |
79 void hideHighlight() override; | 79 void hideHighlight() override; |
80 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip) override; | 80 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip) override; |
81 void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightConfig&) o
verride; | 81 void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightConfig&) o
verride; |
82 void showAndHideViewSize(bool showGrid) override; | 82 void showAndHideViewSize(bool showGrid) override; |
83 void setListener(InspectorOverlay::Listener* listener) override { m_listener
= listener; } | 83 void setListener(InspectorOverlay::Listener* listener) override { m_listener
= listener; } |
84 void suspendUpdates() override; | 84 void suspendUpdates() override; |
85 void resumeUpdates() override; | 85 void resumeUpdates() override; |
86 void clear() override; | 86 void clear() override; |
87 void setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor>) override; | 87 void setLayoutEditor(PassOwnPtrWillBeRawPtr<LayoutEditor>) override; |
| 88 void showLayoutEditorForNode(Node*, const InspectorHighlightConfig&) overrid
e; |
88 | 89 |
89 bool handleInputEvent(const WebInputEvent&); | 90 bool handleInputEvent(const WebInputEvent&); |
90 void layout(); | 91 void layout(); |
91 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; | 92 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; |
92 private: | 93 private: |
93 explicit InspectorOverlayImpl(WebViewImpl*); | 94 explicit InspectorOverlayImpl(WebViewImpl*); |
94 class InspectorOverlayChromeClient; | 95 class InspectorOverlayChromeClient; |
95 class InspectorPageOverlayDelegate; | 96 class InspectorPageOverlayDelegate; |
96 // InspectorOverlayHost::DebuggerListener implementation. | 97 // InspectorOverlayHost::DebuggerListener implementation. |
97 void overlayResumed() override; | 98 void overlayResumed() override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 bool m_needsUpdate; | 133 bool m_needsUpdate; |
133 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; | 134 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; |
134 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; | 135 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; |
135 OwnPtr<PageOverlay> m_pageOverlay; | 136 OwnPtr<PageOverlay> m_pageOverlay; |
136 }; | 137 }; |
137 | 138 |
138 } // namespace blink | 139 } // namespace blink |
139 | 140 |
140 | 141 |
141 #endif // InspectorOverlayImpl_h | 142 #endif // InspectorOverlayImpl_h |
OLD | NEW |