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

Side by Side Diff: content/port/browser/render_widget_host_view_port.cc

Issue 9347042: Introduce content::RenderWidgetHostViewPort (in content/port/browser). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/port/browser/render_widget_host_view_port.h"
6
7 namespace content {
8
9 RenderWidgetHostViewPort::RenderWidgetHostViewPort() {
10 }
11
12 RenderWidgetHostViewPort::~RenderWidgetHostViewPort() {
13 }
14
15 // static
16 RenderWidgetHostViewPort* RenderWidgetHostViewPort::FromRWHV(
17 RenderWidgetHostView* rwhv) {
18 return static_cast<RenderWidgetHostViewPort*>(rwhv);
19 }
20
21 // static
22 RenderWidgetHostViewPort* RenderWidgetHostViewPort::CreateViewForWidget(
jam 2012/02/15 17:02:19 nit: can we put these two static methods somewhere
Jói 2012/02/16 12:41:42 Done.
23 RenderWidgetHost* widget) {
24 return FromRWHV(RenderWidgetHostView::CreateViewForWidget(widget));
25 }
26
27 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698