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

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

Issue 376873004: [DevTools] Allow touch emulation on devices with native touch. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 4 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 | « 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void enable(ErrorString*) OVERRIDE; 98 virtual void enable(ErrorString*) OVERRIDE;
99 virtual void disable(ErrorString*) OVERRIDE; 99 virtual void disable(ErrorString*) OVERRIDE;
100 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S tring* result) OVERRIDE; 100 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S tring* result) OVERRIDE;
101 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi fier) OVERRIDE; 101 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi fier) OVERRIDE;
102 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor) O VERRIDE; 102 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor) O VERRIDE;
103 virtual void navigate(ErrorString*, const String& url, String* frameId) OVER RIDE; 103 virtual void navigate(ErrorString*, const String& url, String* frameId) OVER RIDE;
104 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder: :Page::Cookie> >& cookies) OVERRIDE; 104 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder: :Page::Cookie> >& cookies) OVERRIDE;
105 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri ng& url) OVERRIDE; 105 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri ng& url) OVERRIDE;
106 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe sourceTree>&) OVERRIDE; 106 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe sourceTree>&) OVERRIDE;
107 virtual void getResourceContent(ErrorString*, const String& frameId, const S tring& url, PassRefPtr<GetResourceContentCallback>) OVERRIDE; 107 virtual void getResourceContent(ErrorString*, const String& frameId, const S tring& url, PassRefPtr<GetResourceContentCallback>) OVERRIDE;
108 virtual void hasTouchInputs(ErrorString*, bool* result) OVERRIDE;
109 virtual void searchInResource(ErrorString*, const String& frameId, const Str ing& url, const String& query, const bool* optionalCaseSensitive, const bool* op tionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVE RRIDE; 108 virtual void searchInResource(ErrorString*, const String& frameId, const Str ing& url, const String& query, const bool* optionalCaseSensitive, const bool* op tionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVE RRIDE;
110 virtual void setDocumentContent(ErrorString*, const String& frameId, const S tring& html) OVERRIDE; 109 virtual void setDocumentContent(ErrorString*, const String& frameId, const S tring& html) OVERRIDE;
111 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d ouble deviceScaleFactor, bool mobile, bool fitWindow, const double* optionalScal e, const double* optionalOffsetX, const double* optionalOffsetY) OVERRIDE; 110 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d ouble deviceScaleFactor, bool mobile, bool fitWindow, const double* optionalScal e, const double* optionalOffsetX, const double* optionalOffsetY) OVERRIDE;
112 virtual void clearDeviceMetricsOverride(ErrorString*) OVERRIDE; 111 virtual void clearDeviceMetricsOverride(ErrorString*) OVERRIDE;
113 virtual void resetScrollAndPageScaleFactor(ErrorString*) OVERRIDE; 112 virtual void resetScrollAndPageScaleFactor(ErrorString*) OVERRIDE;
114 virtual void setShowPaintRects(ErrorString*, bool show) OVERRIDE; 113 virtual void setShowPaintRects(ErrorString*, bool show) OVERRIDE;
115 virtual void setShowDebugBorders(ErrorString*, bool show) OVERRIDE; 114 virtual void setShowDebugBorders(ErrorString*, bool show) OVERRIDE;
116 virtual void setShowFPSCounter(ErrorString*, bool show) OVERRIDE; 115 virtual void setShowFPSCounter(ErrorString*, bool show) OVERRIDE;
117 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) OVERRI DE; 116 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) OVERRI DE;
118 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) OVERRIDE; 117 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) OVERRIDE;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 218
220 OwnPtr<InspectorResourceContentLoader> m_inspectorResourceContentLoader; 219 OwnPtr<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
221 HashMap<String, String> m_editedResourceContent; 220 HashMap<String, String> m_editedResourceContent;
222 }; 221 };
223 222
224 223
225 } // namespace blink 224 } // namespace blink
226 225
227 226
228 #endif // !defined(InspectorPagerAgent_h) 227 #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