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

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

Issue 12211149: Revert 182106 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/renderer/render_widget.h ('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/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 1364
1365 WillInitiatePaint(); 1365 WillInitiatePaint();
1366 } 1366 }
1367 1367
1368 void RenderWidget::didBecomeReadyForAdditionalInput() { 1368 void RenderWidget::didBecomeReadyForAdditionalInput() {
1369 TRACE_EVENT0("renderer", "RenderWidget::didBecomeReadyForAdditionalInput"); 1369 TRACE_EVENT0("renderer", "RenderWidget::didBecomeReadyForAdditionalInput");
1370 if (pending_input_event_ack_.get()) 1370 if (pending_input_event_ack_.get())
1371 Send(pending_input_event_ack_.release()); 1371 Send(pending_input_event_ack_.release());
1372 } 1372 }
1373 1373
1374 void RenderWidget::DidCommitCompositorFrame() {
1375 }
1376
1377 void RenderWidget::didCommitAndDrawCompositorFrame() { 1374 void RenderWidget::didCommitAndDrawCompositorFrame() {
1378 TRACE_EVENT0("gpu", "RenderWidget::didCommitAndDrawCompositorFrame"); 1375 TRACE_EVENT0("gpu", "RenderWidget::didCommitAndDrawCompositorFrame");
1379 // Accelerated FPS tick for performance tests. See throughput_tests.cc. 1376 // Accelerated FPS tick for performance tests. See throughput_tests.cc.
1380 // NOTE: Tests may break if this event is renamed or moved. 1377 // NOTE: Tests may break if this event is renamed or moved.
1381 UNSHIPPED_TRACE_EVENT_INSTANT0("test_fps", "TestFrameTickGPU"); 1378 UNSHIPPED_TRACE_EVENT_INSTANT0("test_fps", "TestFrameTickGPU");
1382 // Notify subclasses that we initiated the paint operation. 1379 // Notify subclasses that we initiated the paint operation.
1383 DidInitiatePaint(); 1380 DidInitiatePaint();
1384 } 1381 }
1385 1382
1386 void RenderWidget::didCompleteSwapBuffers() { 1383 void RenderWidget::didCompleteSwapBuffers() {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 bool RenderWidget::WillHandleGestureEvent( 2116 bool RenderWidget::WillHandleGestureEvent(
2120 const WebKit::WebGestureEvent& event) { 2117 const WebKit::WebGestureEvent& event) {
2121 return false; 2118 return false;
2122 } 2119 }
2123 2120
2124 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { 2121 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const {
2125 return true; 2122 return true;
2126 } 2123 }
2127 2124
2128 } // namespace content 2125 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698