OLD | NEW |
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 void DetachDelegate(); | 435 void DetachDelegate(); |
436 | 436 |
437 // Update the renderer's cache of the screen rect of the view and window. | 437 // Update the renderer's cache of the screen rect of the view and window. |
438 void SendScreenRects(); | 438 void SendScreenRects(); |
439 | 439 |
440 // Suppreses future char events until a keydown. See | 440 // Suppreses future char events until a keydown. See |
441 // suppress_next_char_events_. | 441 // suppress_next_char_events_. |
442 void SuppressNextCharEvents(); | 442 void SuppressNextCharEvents(); |
443 | 443 |
444 // Called by RenderWidgetHostView in response to OnSetNeedsFlushInput. | 444 // Called by RenderWidgetHostView in response to OnSetNeedsFlushInput. |
445 void FlushInput(); | 445 void FlushInput(base::TimeTicks flush_time); |
446 | 446 |
447 // InputRouterClient | 447 // InputRouterClient |
448 virtual void SetNeedsFlush() OVERRIDE; | 448 virtual void SetNeedsFlush() OVERRIDE; |
449 | 449 |
450 // Indicates whether the renderer drives the RenderWidgetHosts's size or the | 450 // Indicates whether the renderer drives the RenderWidgetHosts's size or the |
451 // other way around. | 451 // other way around. |
452 bool should_auto_resize() { return should_auto_resize_; } | 452 bool should_auto_resize() { return should_auto_resize_; } |
453 | 453 |
454 void ComputeTouchLatency(const ui::LatencyInfo& latency_info); | 454 void ComputeTouchLatency(const ui::LatencyInfo& latency_info); |
455 void FrameSwapped(const ui::LatencyInfo& latency_info); | 455 void FrameSwapped(const ui::LatencyInfo& latency_info); |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 typedef std::map<int, | 844 typedef std::map<int, |
845 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; | 845 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
846 PendingSnapshotMap pending_browser_snapshots_; | 846 PendingSnapshotMap pending_browser_snapshots_; |
847 | 847 |
848 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 848 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
849 }; | 849 }; |
850 | 850 |
851 } // namespace content | 851 } // namespace content |
852 | 852 |
853 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 853 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |