| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 void setInspectMode(InspectorDOMAgent::SearchMode, std::unique_ptr<Inspector
HighlightConfig>) override; | 113 void setInspectMode(InspectorDOMAgent::SearchMode, std::unique_ptr<Inspector
HighlightConfig>) override; |
| 114 void setInspectedNode(Node*) override; | 114 void setInspectedNode(Node*) override; |
| 115 | 115 |
| 116 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip); | 116 void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&
, bool omitTooltip); |
| 117 bool isEmpty(); | 117 bool isEmpty(); |
| 118 void drawNodeHighlight(); | 118 void drawNodeHighlight(); |
| 119 void drawQuadHighlight(); | 119 void drawQuadHighlight(); |
| 120 void drawPausedInDebuggerMessage(); | 120 void drawPausedInDebuggerMessage(); |
| 121 void drawViewSize(); | 121 void drawViewSize(); |
| 122 | 122 |
| 123 float windowToViewportScale() const; | |
| 124 | |
| 125 Page* overlayPage(); | 123 Page* overlayPage(); |
| 126 LocalFrame* overlayMainFrame(); | 124 LocalFrame* overlayMainFrame(); |
| 127 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset
); | 125 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset
); |
| 128 void evaluateInOverlay(const String& method, const String& argument); | 126 void evaluateInOverlay(const String& method, const String& argument); |
| 129 void evaluateInOverlay(const String& method, std::unique_ptr<protocol::Value
> argument); | 127 void evaluateInOverlay(const String& method, std::unique_ptr<protocol::Value
> argument); |
| 130 void onTimer(Timer<InspectorOverlay>*); | 128 void onTimer(Timer<InspectorOverlay>*); |
| 131 void rebuildOverlayPage(); | 129 void rebuildOverlayPage(); |
| 132 void invalidate(); | 130 void invalidate(); |
| 133 void scheduleUpdate(); | 131 void scheduleUpdate(); |
| 134 void clearInternal(); | 132 void clearInternal(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 165 std::unique_ptr<PageOverlay> m_pageOverlay; | 163 std::unique_ptr<PageOverlay> m_pageOverlay; |
| 166 Member<Node> m_hoveredNodeForInspectMode; | 164 Member<Node> m_hoveredNodeForInspectMode; |
| 167 InspectorDOMAgent::SearchMode m_inspectMode; | 165 InspectorDOMAgent::SearchMode m_inspectMode; |
| 168 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; | 166 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; |
| 169 }; | 167 }; |
| 170 | 168 |
| 171 } // namespace blink | 169 } // namespace blink |
| 172 | 170 |
| 173 | 171 |
| 174 #endif // InspectorOverlay_h | 172 #endif // InspectorOverlay_h |
| OLD | NEW |