| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |