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

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

Issue 1745423002: DevTools: migrate protocol values from RefPtr to OwnPtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool isEmpty(); 123 bool isEmpty();
124 void drawNodeHighlight(); 124 void drawNodeHighlight();
125 void drawQuadHighlight(); 125 void drawQuadHighlight();
126 void drawPausedInDebuggerMessage(); 126 void drawPausedInDebuggerMessage();
127 void drawViewSize(); 127 void drawViewSize();
128 128
129 Page* overlayPage(); 129 Page* overlayPage();
130 LocalFrame* overlayMainFrame(); 130 LocalFrame* overlayMainFrame();
131 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset ); 131 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset );
132 void evaluateInOverlay(const String& method, const String& argument); 132 void evaluateInOverlay(const String& method, const String& argument);
133 void evaluateInOverlay(const String& method, PassRefPtr<protocol::Value> arg ument); 133 void evaluateInOverlay(const String& method, PassOwnPtr<protocol::Value> arg ument);
134 void onTimer(Timer<InspectorOverlay>*); 134 void onTimer(Timer<InspectorOverlay>*);
135 void rebuildOverlayPage(); 135 void rebuildOverlayPage();
136 void invalidate(); 136 void invalidate();
137 void scheduleUpdate(); 137 void scheduleUpdate();
138 138
139 bool handleMousePress(); 139 bool handleMousePress();
140 bool handleGestureEvent(const PlatformGestureEvent&); 140 bool handleGestureEvent(const PlatformGestureEvent&);
141 bool handleTouchEvent(const PlatformTouchEvent&); 141 bool handleTouchEvent(const PlatformTouchEvent&);
142 bool handleMouseMove(const PlatformMouseEvent&); 142 bool handleMouseMove(const PlatformMouseEvent&);
143 bool shouldSearchForNode(); 143 bool shouldSearchForNode();
(...skipping 24 matching lines...) Expand all
168 OwnPtr<PageOverlay> m_pageOverlay; 168 OwnPtr<PageOverlay> m_pageOverlay;
169 RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode; 169 RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode;
170 InspectorDOMAgent::SearchMode m_inspectMode; 170 InspectorDOMAgent::SearchMode m_inspectMode;
171 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 171 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
172 }; 172 };
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 176
177 #endif // InspectorOverlay_h 177 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698