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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (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
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 String loaderId(DocumentLoader*); 170 String loaderId(DocumentLoader*);
171 Frame* findFrameWithSecurityOrigin(const String& originRawString); 171 Frame* findFrameWithSecurityOrigin(const String& originRawString);
172 Frame* assertFrame(ErrorString*, const String& frameId); 172 Frame* assertFrame(ErrorString*, const String& frameId);
173 String scriptPreprocessor() { return m_scriptPreprocessor; } 173 String scriptPreprocessor() { return m_scriptPreprocessor; }
174 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); 174 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*);
175 175
176 private: 176 private:
177 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); 177 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*);
178 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo l fitWindow); 178 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo l fitWindow);
179 void updateViewMetrics(int, int, double, bool); 179 void updateViewMetrics(int, int, double, bool);
180 #if ENABLE(TOUCH_EVENTS)
181 void updateTouchEventEmulationInPage(bool); 180 void updateTouchEventEmulationInPage(bool);
182 #endif
183 181
184 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul t); 182 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul t);
185 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result); 183 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result);
186 184
187 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*); 185 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*);
188 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra me*); 186 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra me*);
189 Page* m_page; 187 Page* m_page;
190 InspectorAgent* m_inspectorAgent; 188 InspectorAgent* m_inspectorAgent;
191 InjectedScriptManager* m_injectedScriptManager; 189 InjectedScriptManager* m_injectedScriptManager;
192 InspectorClient* m_client; 190 InspectorClient* m_client;
(...skipping 14 matching lines...) Expand all
207 RefPtr<GeolocationPosition> m_geolocationPosition; 205 RefPtr<GeolocationPosition> m_geolocationPosition;
208 RefPtr<GeolocationPosition> m_platformGeolocationPosition; 206 RefPtr<GeolocationPosition> m_platformGeolocationPosition;
209 RefPtr<DeviceOrientationData> m_deviceOrientation; 207 RefPtr<DeviceOrientationData> m_deviceOrientation;
210 }; 208 };
211 209
212 210
213 } // namespace WebCore 211 } // namespace WebCore
214 212
215 213
216 #endif // !defined(InspectorPagerAgent_h) 214 #endif // !defined(InspectorPagerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698