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

Unified Diff: ui/aura/root_window_host_linux.cc

Issue 10241005: Make win_aura work without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: ui/aura/root_window_host_linux.cc
===================================================================
--- ui/aura/root_window_host_linux.cc (revision 134107)
+++ ui/aura/root_window_host_linux.cc (working copy)
@@ -594,6 +594,10 @@
root_window_ = root_window;
}
+RootWindow* RootWindowHostLinux::GetRootWindow() {
+ return root_window_;
+}
+
gfx::AcceleratedWidget RootWindowHostLinux::GetAcceleratedWidget() {
return xwindow_;
}
@@ -800,6 +804,13 @@
}
// static
+RootWindowHost* RootWindowHost::GetForAcceleratedWidget(
+ gfx::AcceleratedWidget accelerated_widget) {
+ NOTIMPLEMENTED();
+ return NULL; // TODO(erg): implement if necessary or remove this comment.
+}
+
+// static
gfx::Size RootWindowHost::GetNativeScreenSize() {
::Display* xdisplay = base::MessagePumpX::GetDefaultXDisplay();
return gfx::Size(DisplayWidth(xdisplay, 0), DisplayHeight(xdisplay, 0));

Powered by Google App Engine
This is Rietveld 408576698