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

Unified Diff: ash/wm/boot_splash_screen_chromeos.cc

Issue 232313002: ozone: Protect X11-specific code under ash/wm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: always use defined(USE_X11) Created 6 years, 8 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
« no previous file with comments | « no previous file | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/boot_splash_screen_chromeos.cc
diff --git a/ash/wm/boot_splash_screen_chromeos.cc b/ash/wm/boot_splash_screen_chromeos.cc
index c9516d7605ffe5933f13122f613e9251c942a47c..34ee5bb5dc29a9e73f63aada5d53795e38b55d26 100644
--- a/ash/wm/boot_splash_screen_chromeos.cc
+++ b/ash/wm/boot_splash_screen_chromeos.cc
@@ -34,8 +34,13 @@ class BootSplashScreen::CopyHostContentLayerDelegate
// TODO(derat): Instead of copying the data, use GLX_EXT_texture_from_pixmap
// to create a zero-copy texture (when possible):
// https://codereview.chromium.org/10543125
+#if defined(USE_X11)
ui::CopyAreaToCanvas(host_->GetAcceleratedWidget(),
host_->GetBounds(), gfx::Point(), canvas);
+#else
+ // TODO(spang): Figure out what to do here.
+ NOTIMPLEMENTED();
+#endif
}
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE {}
« no previous file with comments | « no previous file | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698