| 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/browser/browser_plugin/old/browser_plugin_host_helper.h" | 5 #include "content/browser/browser_plugin/old/old_browser_plugin_host_helper.h" |
| 6 | 6 |
| 7 #include "content/browser/browser_plugin/old/browser_plugin_host.h" | 7 #include "content/browser/browser_plugin/old/old_browser_plugin_host.h" |
| 8 #include "content/common/old_browser_plugin_messages.h" | 8 #include "content/common/old_browser_plugin_messages.h" |
| 9 #include "content/public/browser/render_view_host.h" | 9 #include "content/public/browser/render_view_host.h" |
| 10 #include "content/public/browser/render_widget_host_view.h" | 10 #include "content/public/browser/render_widget_host_view.h" |
| 11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/size.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 namespace old { | 14 namespace old { |
| 15 | 15 |
| 16 BrowserPluginHostHelper::BrowserPluginHostHelper( | 16 BrowserPluginHostHelper::BrowserPluginHostHelper( |
| 17 BrowserPluginHost* browser_plugin_host, | 17 BrowserPluginHost* browser_plugin_host, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 frame_id, | 54 frame_id, |
| 55 src); | 55 src); |
| 56 } | 56 } |
| 57 | 57 |
| 58 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) { | 58 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) { |
| 59 render_view_host()->GetView()->SetSize(gfx::Size(width, height)); | 59 render_view_host()->GetView()->SetSize(gfx::Size(width, height)); |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace old | 62 } // namespace old |
| 63 } // namespace content | 63 } // namespace content |
| OLD | NEW |