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

Unified Diff: views/widget/native_widget_win.cc

Issue 7067029: Prototype compositor to render views to a texture using d3d 10. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« ui/gfx/resources/compositor.fx ('K') | « ui/gfx/resources/compositor.fx ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_win.cc
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index ce28ef37a65248ba505356a75cba13577fb2666f..6ca61bc4c943fca24ce96d40e69a8447e23204bd 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1146,8 +1146,11 @@ void NativeWidgetWin::ClientAreaSizeChanged() {
}
gfx::AcceleratedWidget NativeWidgetWin::GetAcceleratedWidget() {
- // TODO(sky):
+#if defined(VIEWS_COMPOSITOR)
return gfx::kNullAcceleratedWidget;
+#else
+ return hwnd();
+#endif
}
void NativeWidgetWin::DispatchKeyEventPostIME(const KeyEvent& key) {
« ui/gfx/resources/compositor.fx ('K') | « ui/gfx/resources/compositor.fx ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698