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

Side by Side Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: change show_ime to show_virtual_keyboard in the renderer Created 3 years, 11 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 const WebFloatPoint& positionInViewport, 139 const WebFloatPoint& positionInViewport,
140 const WebFloatSize& velocityInViewport) {} 140 const WebFloatSize& velocityInViewport) {}
141 141
142 // Called to update if touch events should be sent. 142 // Called to update if touch events should be sent.
143 virtual void hasTouchEventHandlers(bool) {} 143 virtual void hasTouchEventHandlers(bool) {}
144 144
145 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform 145 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform
146 // the embedder of the touch actions that are permitted for this touch. 146 // the embedder of the touch actions that are permitted for this touch.
147 virtual void setTouchAction(WebTouchAction touchAction) {} 147 virtual void setTouchAction(WebTouchAction touchAction) {}
148 148
149 // Request the browser to show the IME for current input type. 149 // Request the browser to show virtual keyboard for current input type.
150 virtual void showImeIfNeeded() {} 150 virtual void showVirtualKeyboard() {}
151 151
152 // Request that the browser show a UI for an unhandled tap, if needed. 152 // Request that the browser show a UI for an unhandled tap, if needed.
153 // Invoked during the handling of a GestureTap input event whenever the 153 // Invoked during the handling of a GestureTap input event whenever the
154 // event is not consumed. 154 // event is not consumed.
155 // |tappedPosition| is the point where the mouseDown occurred in client 155 // |tappedPosition| is the point where the mouseDown occurred in client
156 // coordinates. 156 // coordinates.
157 // |tappedNode| is the node that the mouseDown event hit, provided so the 157 // |tappedNode| is the node that the mouseDown event hit, provided so the
158 // UI can be shown only on certain kinds of nodes in specific locations. 158 // UI can be shown only on certain kinds of nodes in specific locations.
159 // |pageChanged| is true if and only if the DOM tree or style was 159 // |pageChanged| is true if and only if the DOM tree or style was
160 // modified during the dispatch of the mouse*, or click events associated 160 // modified during the dispatch of the mouse*, or click events associated
(...skipping 26 matching lines...) Expand all
187 const WebImage& dragImage, 187 const WebImage& dragImage,
188 const WebPoint& dragImageOffset) {} 188 const WebPoint& dragImageOffset) {}
189 189
190 protected: 190 protected:
191 ~WebWidgetClient() {} 191 ~WebWidgetClient() {}
192 }; 192 };
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 #endif 196 #endif
OLDNEW
« content/renderer/render_widget.cc ('K') | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698