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

Side by Side Diff: content/renderer/render_widget.h

Issue 2741993003: Revert restartInput change off the M57 release branch. (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 void OnDidHandleKeyEvent() override; 260 void OnDidHandleKeyEvent() override;
261 void OnDidOverscroll(const ui::DidOverscrollParams& params) override; 261 void OnDidOverscroll(const ui::DidOverscrollParams& params) override;
262 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; 262 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override;
263 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type, 263 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type,
264 blink::WebInputEventResult result, 264 blink::WebInputEventResult result,
265 InputEventAckState ack_result) override; 265 InputEventAckState ack_result) override;
266 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 266 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
267 void ShowVirtualKeyboard() override; 267 void ShowVirtualKeyboard() override;
268 void UpdateTextInputState() override; 268 void UpdateTextInputState() override;
269 void ClearTextInputState() override;
270 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 269 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
271 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 270 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
272 271
273 // RenderWidgetScreenMetricsDelegate 272 // RenderWidgetScreenMetricsDelegate
274 void Redraw() override; 273 void Redraw() override;
275 void Resize(const ResizeParams& resize_params) override; 274 void Resize(const ResizeParams& resize_params) override;
276 void SetScreenMetricsEmulationParameters( 275 void SetScreenMetricsEmulationParameters(
277 bool enabled, 276 bool enabled,
278 const blink::WebDeviceEmulationParams& params) override; 277 const blink::WebDeviceEmulationParams& params) override;
279 void SetScreenRects(const gfx::Rect& view_screen_rect, 278 void SetScreenRects(const gfx::Rect& view_screen_rect,
280 const gfx::Rect& window_screen_rect) override; 279 const gfx::Rect& window_screen_rect) override;
281 280
282 // blink::WebWidgetClient 281 // blink::WebWidgetClient
283 blink::WebLayerTreeView* initializeLayerTreeView() override; 282 blink::WebLayerTreeView* initializeLayerTreeView() override;
284 void didMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override; 283 void didMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override;
285 void didChangeCursor(const blink::WebCursorInfo&) override; 284 void didChangeCursor(const blink::WebCursorInfo&) override;
286 void closeWidgetSoon() override; 285 void closeWidgetSoon() override;
287 void show(blink::WebNavigationPolicy) override; 286 void show(blink::WebNavigationPolicy) override;
288 blink::WebRect windowRect() override; 287 blink::WebRect windowRect() override;
289 blink::WebRect viewRect() override; 288 blink::WebRect viewRect() override;
290 void setToolTipText(const blink::WebString& text, 289 void setToolTipText(const blink::WebString& text,
291 blink::WebTextDirection hint) override; 290 blink::WebTextDirection hint) override;
292 void setWindowRect(const blink::WebRect&) override; 291 void setWindowRect(const blink::WebRect&) override;
293 blink::WebScreenInfo screenInfo() override; 292 blink::WebScreenInfo screenInfo() override;
293 void resetInputMethod() override;
294 void didHandleGestureEvent(const blink::WebGestureEvent& event, 294 void didHandleGestureEvent(const blink::WebGestureEvent& event,
295 bool event_cancelled) override; 295 bool event_cancelled) override;
296 void didOverscroll(const blink::WebFloatSize& overscrollDelta, 296 void didOverscroll(const blink::WebFloatSize& overscrollDelta,
297 const blink::WebFloatSize& accumulatedOverscroll, 297 const blink::WebFloatSize& accumulatedOverscroll,
298 const blink::WebFloatPoint& position, 298 const blink::WebFloatPoint& position,
299 const blink::WebFloatSize& velocity) override; 299 const blink::WebFloatSize& velocity) override;
300 void showVirtualKeyboard() override; 300 void showVirtualKeyboard() override;
301 void convertViewportToWindow(blink::WebRect* rect) override; 301 void convertViewportToWindow(blink::WebRect* rect) override;
302 void convertWindowToViewport(blink::WebFloatRect* rect) override; 302 void convertWindowToViewport(blink::WebFloatRect* rect) override;
303 bool requestPointerLock() override; 303 bool requestPointerLock() override;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 // being handled. If the current event results in starting a drag/drop 836 // being handled. If the current event results in starting a drag/drop
837 // session, this info is sent to the browser along with other drag/drop info. 837 // session, this info is sent to the browser along with other drag/drop info.
838 DragEventSourceInfo possible_drag_event_info_; 838 DragEventSourceInfo possible_drag_event_info_;
839 839
840 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 840 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
841 }; 841 };
842 842
843 } // namespace content 843 } // namespace content
844 844
845 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 845 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698