| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void setPausedInDebuggerMessage(const String*); | 94 void setPausedInDebuggerMessage(const String*); |
| 95 void setInspectModeEnabled(bool); | 95 void setInspectModeEnabled(bool); |
| 96 | 96 |
| 97 void hideHighlight(); | 97 void hideHighlight(); |
| 98 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool om
itTooltip); | 98 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool om
itTooltip); |
| 99 void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&); | 99 void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&); |
| 100 void showAndHideViewSize(bool showGrid); | 100 void showAndHideViewSize(bool showGrid); |
| 101 | 101 |
| 102 Node* highlightedNode() const; | 102 Node* highlightedNode() const; |
| 103 bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&); | 103 bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&); |
| 104 PassRefPtr<JSONObject> highlightJSONForNode(Node*); |
| 104 | 105 |
| 105 void freePage(); | 106 void freePage(); |
| 106 | 107 |
| 107 InspectorOverlayHost* overlayHost() const { return m_overlayHost.get(); } | 108 InspectorOverlayHost* overlayHost() const { return m_overlayHost.get(); } |
| 108 | 109 |
| 109 void startedRecordingProfile(); | 110 void startedRecordingProfile(); |
| 110 void finishedRecordingProfile() { m_activeProfilerCount--; } | 111 void finishedRecordingProfile() { m_activeProfilerCount--; } |
| 111 | 112 |
| 112 // Methods supporting underlying overlay page. | 113 // Methods supporting underlying overlay page. |
| 113 void invalidate(); | 114 void invalidate(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 143 bool m_drawViewSizeWithGrid; | 144 bool m_drawViewSizeWithGrid; |
| 144 bool m_omitTooltip; | 145 bool m_omitTooltip; |
| 145 Timer<InspectorOverlay> m_timer; | 146 Timer<InspectorOverlay> m_timer; |
| 146 int m_activeProfilerCount; | 147 int m_activeProfilerCount; |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace blink | 150 } // namespace blink |
| 150 | 151 |
| 151 | 152 |
| 152 #endif // InspectorOverlay_h | 153 #endif // InspectorOverlay_h |
| OLD | NEW |