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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 void drawPausedInDebuggerMessage(); | 120 void drawPausedInDebuggerMessage(); |
121 void drawViewSize(); | 121 void drawViewSize(); |
122 | 122 |
123 float windowToViewportScale() const; | 123 float windowToViewportScale() const; |
124 | 124 |
125 Page* overlayPage(); | 125 Page* overlayPage(); |
126 LocalFrame* overlayMainFrame(); | 126 LocalFrame* overlayMainFrame(); |
127 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset
); | 127 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset
); |
128 void evaluateInOverlay(const String& method, const String& argument); | 128 void evaluateInOverlay(const String& method, const String& argument); |
129 void evaluateInOverlay(const String& method, std::unique_ptr<protocol::Value
> argument); | 129 void evaluateInOverlay(const String& method, std::unique_ptr<protocol::Value
> argument); |
130 void onTimer(Timer<InspectorOverlay>*); | 130 void onTimer(TimerBase*); |
131 void rebuildOverlayPage(); | 131 void rebuildOverlayPage(); |
132 void invalidate(); | 132 void invalidate(); |
133 void scheduleUpdate(); | 133 void scheduleUpdate(); |
134 void clearInternal(); | 134 void clearInternal(); |
135 | 135 |
136 bool handleMousePress(); | 136 bool handleMousePress(); |
137 bool handleGestureEvent(const PlatformGestureEvent&); | 137 bool handleGestureEvent(const PlatformGestureEvent&); |
138 bool handleTouchEvent(const PlatformTouchEvent&); | 138 bool handleTouchEvent(const PlatformTouchEvent&); |
139 bool handleMouseMove(const PlatformMouseEvent&); | 139 bool handleMouseMove(const PlatformMouseEvent&); |
140 bool shouldSearchForNode(); | 140 bool shouldSearchForNode(); |
(...skipping 24 matching lines...) Expand all Loading... |
165 std::unique_ptr<PageOverlay> m_pageOverlay; | 165 std::unique_ptr<PageOverlay> m_pageOverlay; |
166 Member<Node> m_hoveredNodeForInspectMode; | 166 Member<Node> m_hoveredNodeForInspectMode; |
167 InspectorDOMAgent::SearchMode m_inspectMode; | 167 InspectorDOMAgent::SearchMode m_inspectMode; |
168 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; | 168 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; |
169 }; | 169 }; |
170 | 170 |
171 } // namespace blink | 171 } // namespace blink |
172 | 172 |
173 | 173 |
174 #endif // InspectorOverlay_h | 174 #endif // InspectorOverlay_h |
OLD | NEW |