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

Side by Side Diff: content/browser/browser_plugin/old/browser_plugin_host_helper.cc

Issue 10829219: Browser Plugin: Move to old namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 years, 4 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 | Annotate | Revision Log
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/browser/browser_plugin/old/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/old/browser_plugin_host.h" 7 #include "content/browser/browser_plugin/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 15
15 BrowserPluginHostHelper::BrowserPluginHostHelper( 16 BrowserPluginHostHelper::BrowserPluginHostHelper(
16 BrowserPluginHost* browser_plugin_host, 17 BrowserPluginHost* browser_plugin_host,
17 RenderViewHost* render_view_host) 18 RenderViewHost* render_view_host)
18 : RenderViewHostObserver(render_view_host), 19 : RenderViewHostObserver(render_view_host),
19 browser_plugin_host_(browser_plugin_host) { 20 browser_plugin_host_(browser_plugin_host) {
20 } 21 }
21 22
22 BrowserPluginHostHelper::~BrowserPluginHostHelper() { 23 BrowserPluginHostHelper::~BrowserPluginHostHelper() {
23 } 24 }
(...skipping 27 matching lines...) Expand all
51 render_view_host(), 52 render_view_host(),
52 instance_id, 53 instance_id,
53 frame_id, 54 frame_id,
54 src); 55 src);
55 } 56 }
56 57
57 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) { 58 void BrowserPluginHostHelper::OnResizeGuest(int width, int height) {
58 render_view_host()->GetView()->SetSize(gfx::Size(width, height)); 59 render_view_host()->GetView()->SetSize(gfx::Size(width, height));
59 } 60 }
60 61
62 } // namespace old
61 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/old/browser_plugin_host_helper.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698