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

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

Issue 13931009: Add latency info to input events sent to RenderWidget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 bool is_fullscreen); 286 bool is_fullscreen);
287 void OnChangeResizeRect(const gfx::Rect& resizer_rect); 287 void OnChangeResizeRect(const gfx::Rect& resizer_rect);
288 virtual void OnWasHidden(); 288 virtual void OnWasHidden();
289 virtual void OnWasShown(bool needs_repainting); 289 virtual void OnWasShown(bool needs_repainting);
290 virtual void OnWasSwappedOut(); 290 virtual void OnWasSwappedOut();
291 void OnUpdateRectAck(); 291 void OnUpdateRectAck();
292 void OnCreateVideoAck(int32 video_id); 292 void OnCreateVideoAck(int32 video_id);
293 void OnUpdateVideoAck(int32 video_id); 293 void OnUpdateVideoAck(int32 video_id);
294 void OnRequestMoveAck(); 294 void OnRequestMoveAck();
295 void OnHandleInputEvent(const WebKit::WebInputEvent* event, 295 void OnHandleInputEvent(const WebKit::WebInputEvent* event,
296 const cc::LatencyInfo& latency_info,
296 bool keyboard_shortcut); 297 bool keyboard_shortcut);
297 void OnMouseCaptureLost(); 298 void OnMouseCaptureLost();
298 virtual void OnSetFocus(bool enable); 299 virtual void OnSetFocus(bool enable);
299 void OnSetInputMethodActive(bool is_active); 300 void OnSetInputMethodActive(bool is_active);
300 virtual void OnImeSetComposition( 301 virtual void OnImeSetComposition(
301 const string16& text, 302 const string16& text,
302 const std::vector<WebKit::WebCompositionUnderline>& underlines, 303 const std::vector<WebKit::WebCompositionUnderline>& underlines,
303 int selection_start, 304 int selection_start,
304 int selection_end); 305 int selection_end);
305 virtual void OnImeConfirmComposition( 306 virtual void OnImeConfirmComposition(
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 bool is_threaded_compositing_enabled_; 693 bool is_threaded_compositing_enabled_;
693 694
694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 695 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
695 696
696 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 697 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
697 }; 698 };
698 699
699 } // namespace content 700 } // namespace content
700 701
701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 702 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698