Chromium Code Reviews| 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 #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 Loading... | |
| 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 } |
| OLD | NEW |