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

Unified Diff: ui/aura/root_window_host_linux.cc

Issue 12047111: Set scale/orientation property to aura root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
index e3ececade9c853baffd90c200fcbd6bf3bbf3691..56594818116c74e5c48c968472eb8b0f0dc32c52 100644
--- a/ui/aura/root_window_host_linux.cc
+++ b/ui/aura/root_window_host_linux.cc
@@ -834,6 +834,14 @@ void RootWindowHostLinux::PrepareForShutdown() {
base::MessagePumpAuraX11::Current()->RemoveDispatcherForWindow(xwindow_);
}
+void RootWindowHostLinux::SetHostWindowProperty(const std::string& name,
+ int value) {
+ ui::SetIntProperty(xwindow_,
+ name.c_str(),
+ name.c_str(),
Daniel Erat 2013/01/30 21:04:27 i think that the type should be CARDINAL instead
oshima 2013/01/30 23:45:53 Done.
+ value);
+}
+
bool RootWindowHostLinux::DispatchEventForRootWindow(
const base::NativeEvent& event) {
switch (event->type) {

Powered by Google App Engine
This is Rietveld 408576698