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

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

Issue 2004313003: DevTools: migrate from OwnPtr to std::unique_ptr for inspector protocol classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 6 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool isEmpty(); 118 bool isEmpty();
119 void drawNodeHighlight(); 119 void drawNodeHighlight();
120 void drawQuadHighlight(); 120 void drawQuadHighlight();
121 void drawPausedInDebuggerMessage(); 121 void drawPausedInDebuggerMessage();
122 void drawViewSize(); 122 void drawViewSize();
123 123
124 Page* overlayPage(); 124 Page* overlayPage();
125 LocalFrame* overlayMainFrame(); 125 LocalFrame* overlayMainFrame();
126 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset ); 126 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset );
127 void evaluateInOverlay(const String& method, const String& argument); 127 void evaluateInOverlay(const String& method, const String& argument);
128 void evaluateInOverlay(const String& method, PassOwnPtr<protocol::Value> arg ument); 128 void evaluateInOverlay(const String& method, std::unique_ptr<protocol::Value > argument);
129 void onTimer(Timer<InspectorOverlay>*); 129 void onTimer(Timer<InspectorOverlay>*);
130 void rebuildOverlayPage(); 130 void rebuildOverlayPage();
131 void invalidate(); 131 void invalidate();
132 void scheduleUpdate(); 132 void scheduleUpdate();
133 void clearInternal(); 133 void clearInternal();
134 134
135 bool handleMousePress(); 135 bool handleMousePress();
136 bool handleGestureEvent(const PlatformGestureEvent&); 136 bool handleGestureEvent(const PlatformGestureEvent&);
137 bool handleTouchEvent(const PlatformTouchEvent&); 137 bool handleTouchEvent(const PlatformTouchEvent&);
138 bool handleMouseMove(const PlatformMouseEvent&); 138 bool handleMouseMove(const PlatformMouseEvent&);
(...skipping 25 matching lines...) Expand all
164 OwnPtr<PageOverlay> m_pageOverlay; 164 OwnPtr<PageOverlay> m_pageOverlay;
165 Member<Node> m_hoveredNodeForInspectMode; 165 Member<Node> m_hoveredNodeForInspectMode;
166 InspectorDOMAgent::SearchMode m_inspectMode; 166 InspectorDOMAgent::SearchMode m_inspectMode;
167 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 167 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
168 }; 168 };
169 169
170 } // namespace blink 170 } // namespace blink
171 171
172 172
173 #endif // InspectorOverlay_h 173 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698