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

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

Issue 10536080: Plumb rendering statistics to benchmarking extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Stuff. Created 8 years, 6 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
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 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { 1692 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) {
1693 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); 1693 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin();
1694 i != plugin_window_moves_.end(); ++i) { 1694 i != plugin_window_moves_.end(); ++i) {
1695 if (i->window == window) { 1695 if (i->window == window) {
1696 plugin_window_moves_.erase(i); 1696 plugin_window_moves_.erase(i);
1697 break; 1697 break;
1698 } 1698 }
1699 } 1699 }
1700 } 1700 }
1701 1701
1702 void RenderWidget::GetRenderingStats(WebKit::WebRenderingStats& stats) const {
1703 webwidget()->renderingStats(stats);
nduca 2012/06/15 01:57:42 you need to check here if you're in software mode
dtu 2012/06/20 00:57:32 Now we have renderingStats() in WebView instead of
1704 }
1705
1702 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) { 1706 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) {
1703 return false; 1707 return false;
1704 } 1708 }
1705 1709
1706 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const { 1710 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const {
1707 return false; 1711 return false;
1708 } 1712 }
OLDNEW
« content/renderer/render_view_impl.h ('K') | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698