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

Unified Diff: ui/aura/test/test_screen.cc

Issue 465803002: Make the minimized home card not overlap activities on Athena (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/test/test_screen.cc
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc
index 4ffc2d855eada7ec162b6f32a1be29b79c5a2546..42902247f99f97cbf3bdcc7f33c0d222164308a4 100644
--- a/ui/aura/test/test_screen.cc
+++ b/ui/aura/test/test_screen.cc
@@ -61,6 +61,10 @@ void TestScreen::SetUIScale(float ui_scale) {
host_->SetRootTransform(GetRotationTransform() * GetUIScaleTransform());
}
+void TestScreen::SetWorkAreaInsets(const gfx::Insets& insets) {
+ display_.UpdateWorkAreaFromInsets(insets);
+}
+
gfx::Transform TestScreen::GetRotationTransform() const {
gfx::Transform rotate;
float one_pixel = 1.0f / display_.device_scale_factor();
« extensions/shell/browser/shell_desktop_controller.h ('K') | « ui/aura/test/test_screen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698