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

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

Issue 11861008: Expose the capturePicture feature in RenderView for Android WebView legacy API support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed sync IPC issues. 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
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
1374 void RenderWidget::didCommitAndDrawCompositorFrame() { 1377 void RenderWidget::didCommitAndDrawCompositorFrame() {
1375 TRACE_EVENT0("gpu", "RenderWidget::didCommitAndDrawCompositorFrame"); 1378 TRACE_EVENT0("gpu", "RenderWidget::didCommitAndDrawCompositorFrame");
1376 // Accelerated FPS tick for performance tests. See throughput_tests.cc. 1379 // Accelerated FPS tick for performance tests. See throughput_tests.cc.
1377 // NOTE: Tests may break if this event is renamed or moved. 1380 // NOTE: Tests may break if this event is renamed or moved.
1378 UNSHIPPED_TRACE_EVENT_INSTANT0("test_fps", "TestFrameTickGPU"); 1381 UNSHIPPED_TRACE_EVENT_INSTANT0("test_fps", "TestFrameTickGPU");
1379 // Notify subclasses that we initiated the paint operation. 1382 // Notify subclasses that we initiated the paint operation.
1380 DidInitiatePaint(); 1383 DidInitiatePaint();
1381 } 1384 }
1382 1385
1383 void RenderWidget::didCompleteSwapBuffers() { 1386 void RenderWidget::didCompleteSwapBuffers() {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 bool RenderWidget::WillHandleGestureEvent( 2119 bool RenderWidget::WillHandleGestureEvent(
2117 const WebKit::WebGestureEvent& event) { 2120 const WebKit::WebGestureEvent& event) {
2118 return false; 2121 return false;
2119 } 2122 }
2120 2123
2121 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { 2124 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const {
2122 return true; 2125 return true;
2123 } 2126 }
2124 2127
2125 } // namespace content 2128 } // namespace content
OLDNEW
« content/common/swapped_out_messages.cc ('K') | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698