Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |