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

Side by Side Diff: content/browser/devtools/protocol/input_handler.h

Issue 1285133008: Remove obsolete SynthesizeScrollGesture method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" 9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 int* modifiers, 69 int* modifiers,
70 int* click_count); 70 int* click_count);
71 71
72 Response SynthesizePinchGesture(DevToolsCommandId command_id, 72 Response SynthesizePinchGesture(DevToolsCommandId command_id,
73 int x, 73 int x,
74 int y, 74 int y,
75 double scale_factor, 75 double scale_factor,
76 const int* relative_speed, 76 const int* relative_speed,
77 const std::string* gesture_source_type); 77 const std::string* gesture_source_type);
78 78
79 // TODO(alexclarke): remove this once the protocol patch lands.
80 Response SynthesizeScrollGesture(DevToolsCommandId command_id,
81 int x,
82 int y,
83 const int* x_distance,
84 const int* y_distance,
85 const int* x_overscroll,
86 const int* y_overscroll,
87 const bool* prevent_fling,
88 const int* speed,
89 const std::string* gesture_source_type);
90
91 Response SynthesizeScrollGesture(DevToolsCommandId command_id, 79 Response SynthesizeScrollGesture(DevToolsCommandId command_id,
92 int x, 80 int x,
93 int y, 81 int y,
94 const int* x_distance, 82 const int* x_distance,
95 const int* y_distance, 83 const int* y_distance,
96 const int* x_overscroll, 84 const int* x_overscroll,
97 const int* y_overscroll, 85 const int* y_overscroll,
98 const bool* prevent_fling, 86 const bool* prevent_fling,
99 const int* speed, 87 const int* speed,
100 const std::string* gesture_source_type, 88 const std::string* gesture_source_type,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 base::WeakPtrFactory<InputHandler> weak_factory_; 129 base::WeakPtrFactory<InputHandler> weak_factory_;
142 130
143 DISALLOW_COPY_AND_ASSIGN(InputHandler); 131 DISALLOW_COPY_AND_ASSIGN(InputHandler);
144 }; 132 };
145 133
146 } // namespace input 134 } // namespace input
147 } // namespace devtools 135 } // namespace devtools
148 } // namespace content 136 } // namespace content
149 137
150 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ 138 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698