OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/renderer_host/render_widget_host_view_views.h" | 5 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" | 8 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
9 #include "views/widget/widget.h" | 9 #include "views/widget/widget.h" |
10 | 10 |
11 // static | 11 // static |
12 RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget( | 12 RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget( |
13 RenderWidgetHost* widget) { | 13 RenderWidgetHost* widget) { |
14 if (views::Widget::IsPureViews()) | 14 if (views::Widget::IsPureViews()) |
15 return new RenderWidgetHostViewViews(widget); | 15 return new RenderWidgetHostViewViews(widget); |
16 return new RenderWidgetHostViewWin(widget); | 16 return new RenderWidgetHostViewWin(widget); |
17 } | 17 } |
18 | 18 |
19 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) { | 19 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) { |
20 } | 20 } |
21 | 21 |
22 void RenderWidgetHostViewViews::WillWmDestroy() { | 22 void RenderWidgetHostViewViews::WillWmDestroy() { |
23 NOTIMPLEMENTED(); | 23 NOTIMPLEMENTED(); |
24 } | 24 } |
25 | 25 |
26 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) { | 26 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) { |
27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
28 } | 28 } |
29 | 29 |
30 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() { | 30 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() { |
31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
32 return NULL; | 32 return NULL; |
33 } | 33 } |
34 | 34 |
35 void RenderWidgetHostViewViews::ShowCurrentCursor() { | 35 void RenderWidgetHostViewViews::ShowCurrentCursor() { |
36 NOTIMPLEMENTED(); | 36 NOTIMPLEMENTED(); |
37 } | 37 } |
OLD | NEW |