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

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

Issue 693893002: [DevTools] Add configuration parameter to Page.setTouchEmulationEnabled. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « no previous file | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void clearDeviceMetricsOverride(ErrorString*) override; 111 virtual void clearDeviceMetricsOverride(ErrorString*) override;
112 virtual void resetScrollAndPageScaleFactor(ErrorString*) override; 112 virtual void resetScrollAndPageScaleFactor(ErrorString*) override;
113 virtual void setPageScaleFactor(ErrorString*, double pageScaleFactor) overri de; 113 virtual void setPageScaleFactor(ErrorString*, double pageScaleFactor) overri de;
114 virtual void setShowPaintRects(ErrorString*, bool show) override; 114 virtual void setShowPaintRects(ErrorString*, bool show) override;
115 virtual void setShowDebugBorders(ErrorString*, bool show) override; 115 virtual void setShowDebugBorders(ErrorString*, bool show) override;
116 virtual void setShowFPSCounter(ErrorString*, bool show) override; 116 virtual void setShowFPSCounter(ErrorString*, bool show) override;
117 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) overri de; 117 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) overri de;
118 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) override; 118 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) override;
119 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu lt::Enum*) override; 119 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu lt::Enum*) override;
120 virtual void setScriptExecutionDisabled(ErrorString*, bool) override; 120 virtual void setScriptExecutionDisabled(ErrorString*, bool) override;
121 virtual void setTouchEmulationEnabled(ErrorString*, bool) override; 121 virtual void setTouchEmulationEnabled(ErrorString*, bool enabled, const Stri ng* configuration) override;
122 virtual void setEmulatedMedia(ErrorString*, const String&) override; 122 virtual void setEmulatedMedia(ErrorString*, const String&) override;
123 virtual void startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) override; 123 virtual void startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) override;
124 virtual void stopScreencast(ErrorString*) override; 124 virtual void stopScreencast(ErrorString*) override;
125 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool * showGrid) override; 125 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool * showGrid) override;
126 126
127 // InspectorInstrumentation API 127 // InspectorInstrumentation API
128 void didClearDocumentOfWindowObject(LocalFrame*); 128 void didClearDocumentOfWindowObject(LocalFrame*);
129 void domContentLoadedEventFired(LocalFrame*); 129 void domContentLoadedEventFired(LocalFrame*);
130 void loadEventFired(LocalFrame*); 130 void loadEventFired(LocalFrame*);
131 void didCommitLoad(LocalFrame*, DocumentLoader*); 131 void didCommitLoad(LocalFrame*, DocumentLoader*);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten tLoader; 225 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten tLoader;
226 HashMap<String, String> m_editedResourceContent; 226 HashMap<String, String> m_editedResourceContent;
227 }; 227 };
228 228
229 229
230 } // namespace blink 230 } // namespace blink
231 231
232 232
233 #endif // !defined(InspectorPagerAgent_h) 233 #endif // !defined(InspectorPagerAgent_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698