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

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

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « chrome/browser/process_singleton_aura.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #if !defined(USE_AURA)
8 #include "content/browser/renderer_host/render_widget_host_view_win.h" 9 #include "content/browser/renderer_host/render_widget_host_view_win.h"
10 #endif
9 #include "views/widget/widget.h" 11 #include "views/widget/widget.h"
10 12
11 // static 13 // static
12 RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget( 14 RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget(
13 RenderWidgetHost* widget) { 15 RenderWidgetHost* widget) {
16 #if !defined(USE_AURA)
14 if (views::Widget::IsPureViews()) 17 if (views::Widget::IsPureViews())
18 #endif
15 return new RenderWidgetHostViewViews(widget); 19 return new RenderWidgetHostViewViews(widget);
20 #if !defined(USE_AURA)
16 return new RenderWidgetHostViewWin(widget); 21 return new RenderWidgetHostViewWin(widget);
22 #endif
17 } 23 }
18 24
19 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) { 25 void RenderWidgetHostViewViews::UpdateCursor(const WebCursor& cursor) {
20 } 26 }
21 27
22 void RenderWidgetHostViewViews::WillWmDestroy() { 28 void RenderWidgetHostViewViews::WillWmDestroy() {
23 NOTIMPLEMENTED(); 29 NOTIMPLEMENTED();
24 } 30 }
25 31
26 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) { 32 void RenderWidgetHostViewViews::ShowCompositorHostWindow(bool show) {
27 NOTIMPLEMENTED(); 33 NOTIMPLEMENTED();
28 } 34 }
29 35
30 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() { 36 gfx::PluginWindowHandle RenderWidgetHostViewViews::GetCompositingSurface() {
31 NOTIMPLEMENTED(); 37 NOTIMPLEMENTED();
32 return NULL; 38 return NULL;
33 } 39 }
34 40
35 void RenderWidgetHostViewViews::ShowCurrentCursor() { 41 void RenderWidgetHostViewViews::ShowCurrentCursor() {
36 NOTIMPLEMENTED(); 42 NOTIMPLEMENTED();
37 } 43 }
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_aura.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698