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

Unified Diff: ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc

Issue 12746002: Re-implement overscan & Implement Display Rotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/views/widget/desktop_aura/desktop_root_window_host_linux.cc
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
index 335c3c3bfe0eea3f68e8c4150c6495cd2ddea007..33eae0b0e05042b8a85a0e1f8f93554b826c718d 100644
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
@@ -20,6 +20,7 @@
#include "ui/base/events/event_utils.h"
#include "ui/base/touch/touch_factory.h"
#include "ui/base/x/x11_util.h"
+#include "ui/gfx/insets.h"
#include "ui/linux_ui/linux_ui.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/corewm/compound_event_filter.h"
@@ -724,6 +725,13 @@ void DesktopRootWindowHostLinux::SetBounds(const gfx::Rect& bounds) {
root_window_host_delegate_->OnHostPaint();
}
+gfx::Insets DesktopRootWindowHostLinux::GetInsets() const {
+ return gfx::Insets();
+}
+
+void DesktopRootWindowHostLinux::SetInsets(const gfx::Insets& insets) {
+}
+
gfx::Point DesktopRootWindowHostLinux::GetLocationOnNativeScreen() const {
return bounds_.origin();
}

Powered by Google App Engine
This is Rietveld 408576698