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

Side by Side Diff: Source/core/inspector/InspectorOverlay.h

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 { 112 {
113 return adoptPtr(new InspectorOverlay(page, client)); 113 return adoptPtr(new InspectorOverlay(page, client));
114 } 114 }
115 115
116 ~InspectorOverlay(); 116 ~InspectorOverlay();
117 117
118 void update(); 118 void update();
119 void hide(); 119 void hide();
120 void paint(GraphicsContext&); 120 void paint(GraphicsContext&);
121 void drawOutline(GraphicsContext*, const LayoutRect&, const Color&); 121 void drawOutline(GraphicsContext*, const LayoutRect&, const Color&);
122 void getHighlight(Highlight*) const;
123 void resize(const IntSize&); 122 void resize(const IntSize&);
124 bool handleGestureEvent(const PlatformGestureEvent&); 123 bool handleGestureEvent(const PlatformGestureEvent&);
125 bool handleMouseEvent(const PlatformMouseEvent&); 124 bool handleMouseEvent(const PlatformMouseEvent&);
126 bool handleTouchEvent(const PlatformTouchEvent&); 125 bool handleTouchEvent(const PlatformTouchEvent&);
127 bool handleKeyboardEvent(const PlatformKeyboardEvent&); 126 bool handleKeyboardEvent(const PlatformKeyboardEvent&);
128 127
129 void setPausedInDebuggerMessage(const String*); 128 void setPausedInDebuggerMessage(const String*);
130 void setInspectModeEnabled(bool); 129 void setInspectModeEnabled(bool);
131 130
132 void hideHighlight(); 131 void hideHighlight();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool m_drawViewSizeWithGrid; 178 bool m_drawViewSizeWithGrid;
180 bool m_omitTooltip; 179 bool m_omitTooltip;
181 Timer<InspectorOverlay> m_timer; 180 Timer<InspectorOverlay> m_timer;
182 int m_activeProfilerCount; 181 int m_activeProfilerCount;
183 }; 182 };
184 183
185 } // namespace WebCore 184 } // namespace WebCore
186 185
187 186
188 #endif // InspectorOverlay_h 187 #endif // InspectorOverlay_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698