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

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

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/core/html/RangeInputType.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 String loaderId(DocumentLoader*); 171 String loaderId(DocumentLoader*);
172 Frame* findFrameWithSecurityOrigin(const String& originRawString); 172 Frame* findFrameWithSecurityOrigin(const String& originRawString);
173 Frame* assertFrame(ErrorString*, const String& frameId); 173 Frame* assertFrame(ErrorString*, const String& frameId);
174 String scriptPreprocessor() { return m_scriptPreprocessor; } 174 String scriptPreprocessor() { return m_scriptPreprocessor; }
175 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); 175 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*);
176 176
177 private: 177 private:
178 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); 178 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*);
179 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo l fitWindow); 179 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo l fitWindow);
180 void updateViewMetrics(int, int, double, bool); 180 void updateViewMetrics(int, int, double, bool);
181 #if ENABLE(TOUCH_EVENTS)
181 void updateTouchEventEmulationInPage(bool); 182 void updateTouchEventEmulationInPage(bool);
183 #endif
182 184
183 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul t); 185 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul t);
184 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result); 186 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result);
185 187
186 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*); 188 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*);
187 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra me*); 189 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra me*);
188 Page* m_page; 190 Page* m_page;
189 InspectorAgent* m_inspectorAgent; 191 InspectorAgent* m_inspectorAgent;
190 InjectedScriptManager* m_injectedScriptManager; 192 InjectedScriptManager* m_injectedScriptManager;
191 InspectorClient* m_client; 193 InspectorClient* m_client;
(...skipping 14 matching lines...) Expand all
206 RefPtr<GeolocationPosition> m_geolocationPosition; 208 RefPtr<GeolocationPosition> m_geolocationPosition;
207 RefPtr<GeolocationPosition> m_platformGeolocationPosition; 209 RefPtr<GeolocationPosition> m_platformGeolocationPosition;
208 RefPtr<DeviceOrientationData> m_deviceOrientation; 210 RefPtr<DeviceOrientationData> m_deviceOrientation;
209 }; 211 };
210 212
211 213
212 } // namespace WebCore 214 } // namespace WebCore
213 215
214 216
215 #endif // !defined(InspectorPagerAgent_h) 217 #endif // !defined(InspectorPagerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/html/RangeInputType.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698