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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_views_win.cc

Issue 7741006: Get rid of all chrome includes from RenderWidgetHostViewWin. We'll want to move this to content s... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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"
9 #include "views/widget/widget.h"
10
11 // static
12 RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget(
13 RenderWidgetHost* widget) {
14 if (views::Widget::IsPureViews())
15 return new RenderWidgetHostViewViews(widget);
16 return new RenderWidgetHostViewWin(widget);
17 }
8 18
9 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) { 19 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) {
10 } 20 }
11 21
12 void RenderWidgetHostViewViews::WillWmDestroy() { 22 void RenderWidgetHostViewViews::WillWmDestroy() {
13 NOTIMPLEMENTED(); 23 NOTIMPLEMENTED();
14 } 24 }
15 25
16 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) { 26 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) {
17 NOTIMPLEMENTED(); 27 NOTIMPLEMENTED();
18 } 28 }
19 29
20 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() { 30 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() {
21 NOTIMPLEMENTED(); 31 NOTIMPLEMENTED();
22 return NULL; 32 return NULL;
23 } 33 }
24 34
25 void RenderWidgetHostViewViews::ShowCurrentCursor() { 35 void RenderWidgetHostViewViews::ShowCurrentCursor() {
26 NOTIMPLEMENTED(); 36 NOTIMPLEMENTED();
27 } 37 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698