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/browser_plugin_host_helper.h" | 5 #include "content/browser/browser_plugin/old/browser_plugin_host_helper.h" |
6 | 6 |
7 #include "content/browser/browser_plugin/browser_plugin_host.h" | 7 #include "content/browser/browser_plugin/old/browser_plugin_host.h" |
8 #include "content/common/browser_plugin_messages.h" | 8 #include "content/common/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 | 14 |
15 BrowserPluginHostHelper::BrowserPluginHostHelper( | 15 BrowserPluginHostHelper::BrowserPluginHostHelper( |
16 BrowserPluginHost* browser_plugin_host, | 16 BrowserPluginHost* browser_plugin_host, |
17 RenderViewHost* render_view_host) | 17 RenderViewHost* render_view_host) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 instance_id, | 52 instance_id, |
53 frame_id, | 53 frame_id, |
54 src); | 54 src); |
55 } | 55 } |
56 | 56 |
57 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) { | 57 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) { |
58 render_view_host()->GetView()->SetSize(gfx::Size(width, height)); | 58 render_view_host()->GetView()->SetSize(gfx::Size(width, height)); |
59 } | 59 } |
60 | 60 |
61 } // namespace content | 61 } // namespace content |
OLD | NEW |