Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Side by Side Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.cpp ('k') | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698