| 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/browser_plugin/browser_plugin_manager_impl.h" | 5 #include "content/renderer/browser_plugin/browser_plugin_manager_impl.h" |
| 6 | 6 |
| 7 #include "content/common/browser_plugin/browser_plugin_constants.h" | 7 #include "content/common/browser_plugin/browser_plugin_constants.h" |
| 8 #include "content/common/browser_plugin/browser_plugin_messages.h" | 8 #include "content/common/browser_plugin/browser_plugin_messages.h" |
| 9 #include "content/common/cursors/webcursor.h" | 9 #include "content/common/cursors/webcursor.h" |
| 10 #include "content/renderer/browser_plugin/browser_plugin.h" | 10 #include "content/renderer/browser_plugin/browser_plugin.h" |
| 11 #include "content/renderer/render_thread_impl.h" | 11 #include "content/renderer/render_thread_impl.h" |
| 12 #include "ui/gfx/point.h" | 12 #include "ui/gfx/geometry/point.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 BrowserPluginManagerImpl::BrowserPluginManagerImpl(RenderViewImpl* render_view) | 16 BrowserPluginManagerImpl::BrowserPluginManagerImpl(RenderViewImpl* render_view) |
| 17 : BrowserPluginManager(render_view) { | 17 : BrowserPluginManager(render_view) { |
| 18 } | 18 } |
| 19 | 19 |
| 20 BrowserPluginManagerImpl::~BrowserPluginManagerImpl() { | 20 BrowserPluginManagerImpl::~BrowserPluginManagerImpl() { |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 void BrowserPluginManagerImpl::DidCommitCompositorFrame() { | 51 void BrowserPluginManagerImpl::DidCommitCompositorFrame() { |
| 52 IDMap<BrowserPlugin>::iterator iter(&instances_); | 52 IDMap<BrowserPlugin>::iterator iter(&instances_); |
| 53 while (!iter.IsAtEnd()) { | 53 while (!iter.IsAtEnd()) { |
| 54 iter.GetCurrentValue()->DidCommitCompositorFrame(); | 54 iter.GetCurrentValue()->DidCommitCompositorFrame(); |
| 55 iter.Advance(); | 55 iter.Advance(); |
| 56 } | 56 } |
| 57 } | 57 } |
| 58 | 58 |
| 59 } // namespace content | 59 } // namespace content |
| OLD | NEW |