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

Side by Side Diff: Source/web/InspectorClientImpl.h

Issue 243233002: [DevTools] Disable touch emulation on devices with touch input. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void sendMessageToFrontend(PassRefPtr<WebCore::JSONObject>) OVERRIDE ; 54 virtual void sendMessageToFrontend(PassRefPtr<WebCore::JSONObject>) OVERRIDE ;
55 virtual void flush() OVERRIDE; 55 virtual void flush() OVERRIDE;
56 56
57 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; 57 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE;
58 58
59 virtual void clearBrowserCache() OVERRIDE; 59 virtual void clearBrowserCache() OVERRIDE;
60 virtual void clearBrowserCookies() OVERRIDE; 60 virtual void clearBrowserCookies() OVERRIDE;
61 61
62 virtual void overrideDeviceMetrics(int, int, float, bool, bool) OVERRIDE; 62 virtual void overrideDeviceMetrics(int, int, float, bool, bool) OVERRIDE;
63 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE; 63 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE;
64 virtual bool hasTouchInputs() OVERRIDE;
64 65
65 virtual bool overridesShowPaintRects() OVERRIDE; 66 virtual bool overridesShowPaintRects() OVERRIDE;
66 virtual void setShowPaintRects(bool) OVERRIDE; 67 virtual void setShowPaintRects(bool) OVERRIDE;
67 virtual void setShowDebugBorders(bool) OVERRIDE; 68 virtual void setShowDebugBorders(bool) OVERRIDE;
68 virtual void setShowFPSCounter(bool) OVERRIDE; 69 virtual void setShowFPSCounter(bool) OVERRIDE;
69 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 70 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
70 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 71 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
71 virtual void requestPageScaleFactor(float scale, const WebCore::IntPoint& or igin) OVERRIDE; 72 virtual void requestPageScaleFactor(float scale, const WebCore::IntPoint& or igin) OVERRIDE;
72 73
73 virtual void getAllocatedObjects(HashSet<const void*>&) OVERRIDE; 74 virtual void getAllocatedObjects(HashSet<const void*>&) OVERRIDE;
(...skipping 11 matching lines...) Expand all
85 private: 86 private:
86 WebDevToolsAgentImpl* devToolsAgent(); 87 WebDevToolsAgentImpl* devToolsAgent();
87 88
88 // The WebViewImpl of the page being inspected; gets passed to the construct or 89 // The WebViewImpl of the page being inspected; gets passed to the construct or
89 WebViewImpl* m_inspectedWebView; 90 WebViewImpl* m_inspectedWebView;
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif 95 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698