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

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

Issue 23085004: DevTools: handle gesture tap event while in inspecting element mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/InspectorController.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class InspectorFrontend; 48 class InspectorFrontend;
49 class InspectorFrontendChannel; 49 class InspectorFrontendChannel;
50 class InspectorFrontendClient; 50 class InspectorFrontendClient;
51 class InspectorMemoryAgent; 51 class InspectorMemoryAgent;
52 class InspectorTimelineAgent; 52 class InspectorTimelineAgent;
53 class InspectorOverlay; 53 class InspectorOverlay;
54 class InspectorState; 54 class InspectorState;
55 class InstrumentingAgents; 55 class InstrumentingAgents;
56 class IntSize; 56 class IntSize;
57 class Page; 57 class Page;
58 class PlatformGestureEvent;
58 class PlatformMouseEvent; 59 class PlatformMouseEvent;
59 class PlatformTouchEvent; 60 class PlatformTouchEvent;
60 class PostWorkerNotificationToFrontendTask; 61 class PostWorkerNotificationToFrontendTask;
61 class Node; 62 class Node;
62 63
63 struct Highlight; 64 struct Highlight;
64 65
65 class InspectorController { 66 class InspectorController {
66 WTF_MAKE_NONCOPYABLE(InspectorController); 67 WTF_MAKE_NONCOPYABLE(InspectorController);
67 WTF_MAKE_FAST_ALLOCATED; 68 WTF_MAKE_FAST_ALLOCATED;
(...skipping 19 matching lines...) Expand all
87 void setProcessId(long); 88 void setProcessId(long);
88 void setLayerTreeId(int); 89 void setLayerTreeId(int);
89 void webViewResized(const IntSize&); 90 void webViewResized(const IntSize&);
90 91
91 void inspect(Node*); 92 void inspect(Node*);
92 void drawHighlight(GraphicsContext&) const; 93 void drawHighlight(GraphicsContext&) const;
93 void getHighlight(Highlight*) const; 94 void getHighlight(Highlight*) const;
94 void hideHighlight(); 95 void hideHighlight();
95 Node* highlightedNode() const; 96 Node* highlightedNode() const;
96 97
98 bool handleGestureEvent(Frame*, const PlatformGestureEvent&);
97 bool handleMouseEvent(Frame*, const PlatformMouseEvent&); 99 bool handleMouseEvent(Frame*, const PlatformMouseEvent&);
98 bool handleTouchEvent(Frame*, const PlatformTouchEvent&); 100 bool handleTouchEvent(Frame*, const PlatformTouchEvent&);
99 101
100 bool isUnderTest(); 102 bool isUnderTest();
101 void evaluateForTestInFrontend(long callId, const String& script); 103 void evaluateForTestInFrontend(long callId, const String& script);
102 104
103 void resume(); 105 void resume();
104 106
105 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize); 107 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize);
106 108
(...skipping 27 matching lines...) Expand all
134 Page* m_page; 136 Page* m_page;
135 InspectorClient* m_inspectorClient; 137 InspectorClient* m_inspectorClient;
136 InspectorAgentRegistry m_agents; 138 InspectorAgentRegistry m_agents;
137 bool m_isUnderTest; 139 bool m_isUnderTest;
138 }; 140 };
139 141
140 } 142 }
141 143
142 144
143 #endif // !defined(InspectorController_h) 145 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698