| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void setPausedInDebuggerMessage(const String*) override; | 76 void setPausedInDebuggerMessage(const String*) override; |
| 77 void setInspectModeEnabled(bool) override; | 77 void setInspectModeEnabled(bool) override; |
| 78 void hideHighlight() override; | 78 void hideHighlight() override; |
| 79 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip) override; | 79 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip) override; |
| 80 void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightConfig&) o
verride; | 80 void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightConfig&) o
verride; |
| 81 void showAndHideViewSize(bool showGrid) override; | 81 void showAndHideViewSize(bool showGrid) override; |
| 82 void setListener(InspectorOverlay::Listener* listener) override { m_listener
= listener; } | 82 void setListener(InspectorOverlay::Listener* listener) override { m_listener
= listener; } |
| 83 void suspendUpdates() override; | 83 void suspendUpdates() override; |
| 84 void resumeUpdates() override; | 84 void resumeUpdates() override; |
| 85 void clear() override; | 85 void clear() override; |
| 86 LayoutEditor* layoutEditor() override { return m_layoutEditor.get(); } |
| 86 | 87 |
| 87 bool handleInputEvent(const WebInputEvent&); | 88 bool handleInputEvent(const WebInputEvent&); |
| 88 void invalidate(); | 89 void invalidate(); |
| 89 private: | 90 private: |
| 90 explicit InspectorOverlayImpl(WebViewImpl*); | 91 explicit InspectorOverlayImpl(WebViewImpl*); |
| 91 | 92 |
| 92 // InspectorOverlayHost::Listener implementation. | 93 // InspectorOverlayHost::Listener implementation. |
| 93 void overlayResumed() override; | 94 void overlayResumed() override; |
| 94 void overlaySteppedOver() override; | 95 void overlaySteppedOver() override; |
| 95 | 96 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 int m_suspendCount; | 128 int m_suspendCount; |
| 128 bool m_updating; | 129 bool m_updating; |
| 129 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; | 130 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; |
| 130 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; | 131 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; |
| 131 }; | 132 }; |
| 132 | 133 |
| 133 } // namespace blink | 134 } // namespace blink |
| 134 | 135 |
| 135 | 136 |
| 136 #endif // InspectorOverlayImpl_h | 137 #endif // InspectorOverlayImpl_h |
| OLD | NEW |