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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 1408213002: Add hooks for flushing input from BeginFrame dispatch on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build for real Created 5 years, 1 month 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/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | 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 #include "content/browser/renderer_host/render_widget_host_view_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { 575 void RenderWidgetHostViewBase::DidReceiveRendererFrame() {
576 ++renderer_frame_number_; 576 ++renderer_frame_number_;
577 } 577 }
578 578
579 void RenderWidgetHostViewBase::FlushInput() { 579 void RenderWidgetHostViewBase::FlushInput() {
580 RenderWidgetHostImpl* impl = NULL; 580 RenderWidgetHostImpl* impl = NULL;
581 if (GetRenderWidgetHost()) 581 if (GetRenderWidgetHost())
582 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); 582 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
583 if (!impl) 583 if (!impl)
584 return; 584 return;
585 impl->FlushInput(); 585 impl->FlushInput(base::TimeTicks::Now());
586 } 586 }
587 587
588 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse( 588 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse(
589 const base::string16& content, 589 const base::string16& content,
590 size_t start_offset, 590 size_t start_offset,
591 size_t end_offset) { 591 size_t end_offset) {
592 NOTIMPLEMENTED(); 592 NOTIMPLEMENTED();
593 } 593 }
594 594
595 void RenderWidgetHostViewBase::ShowDisambiguationPopup( 595 void RenderWidgetHostViewBase::ShowDisambiguationPopup(
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 } 675 }
676 676
677 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( 677 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint(
678 const gfx::Point& point, 678 const gfx::Point& point,
679 gfx::Point* transformed_point) { 679 gfx::Point* transformed_point) {
680 NOTREACHED(); 680 NOTREACHED();
681 return 0; 681 return 0;
682 } 682 }
683 683
684 } // namespace content 684 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698