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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 void didPaint(GraphicsContext*, const LayoutRect&); | 139 void didPaint(GraphicsContext*, const LayoutRect&); |
140 void didLayout(); | 140 void didLayout(); |
141 void didScroll(); | 141 void didScroll(); |
142 void didRecalculateStyle(); | 142 void didRecalculateStyle(); |
143 | 143 |
144 // Inspector Controller API | 144 // Inspector Controller API |
145 virtual void setFrontend(InspectorFrontend*); | 145 virtual void setFrontend(InspectorFrontend*); |
146 virtual void clearFrontend(); | 146 virtual void clearFrontend(); |
147 virtual void restore(); | 147 virtual void restore(); |
148 | 148 |
| 149 void webViewResized(const IntSize&); |
| 150 |
149 // Cross-agents API | 151 // Cross-agents API |
150 Frame* mainFrame(); | 152 Frame* mainFrame(); |
151 String createIdentifier(); | 153 String createIdentifier(); |
152 Frame* frameForId(const String& frameId); | 154 Frame* frameForId(const String& frameId); |
153 String frameId(Frame*); | 155 String frameId(Frame*); |
154 String loaderId(DocumentLoader*); | 156 String loaderId(DocumentLoader*); |
155 Frame* assertFrame(ErrorString*, String frameId); | 157 Frame* assertFrame(ErrorString*, String frameId); |
156 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); | 158 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); |
157 | 159 |
158 private: | 160 private: |
(...skipping 27 matching lines...) Expand all Loading... |
186 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 188 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
187 RefPtr<DeviceOrientationData> m_deviceOrientation; | 189 RefPtr<DeviceOrientationData> m_deviceOrientation; |
188 }; | 190 }; |
189 | 191 |
190 | 192 |
191 } // namespace WebCore | 193 } // namespace WebCore |
192 | 194 |
193 #endif // ENABLE(INSPECTOR) | 195 #endif // ENABLE(INSPECTOR) |
194 | 196 |
195 #endif // !defined(InspectorPagerAgent_h) | 197 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |