summaryrefslogtreecommitdiffstats
path: root/ash/shell_unittest.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 18:39:26 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 18:39:26 +0000
commit8fd386fa4ea955ec1a0c6b3e42fd30baf17fde80 (patch)
treef8ccafb02305bcecc9d18d7ac943029d442ed135 /ash/shell_unittest.cc
parent66edcb54dd11f62cb6b255992a3bd63744953cc4 (diff)
downloadchromium_src-8fd386fa4ea955ec1a0c6b3e42fd30baf17fde80.zip
chromium_src-8fd386fa4ea955ec1a0c6b3e42fd30baf17fde80.tar.gz
chromium_src-8fd386fa4ea955ec1a0c6b3e42fd30baf17fde80.tar.bz2
Revert 149869 because it broke ash_unittests on win_aura and linux_chromeos.
""" 2nd display should show the same background as login/lock screen: Added special container for background on lock screen. Background view can now be created in specific container. Disabled lock screen wallpaper implementation based on serving PNG image via data source. BUG=136853,137581 TEST=Lock screen on multimonitor configuration. Check that windows on secondary display are hidden with background. Review URL: https://chromiumcodereview.appspot.com/10810039 TBR=antrim@chromium.org Review URL: https://chromiumcodereview.appspot.com/10829173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_unittest.cc')
-rw-r--r--ash/shell_unittest.cc12
1 files changed, 2 insertions, 10 deletions
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index dce879c..3bf6cf3 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "ash/ash_switches.h"
-#include "ash/desktop_background/desktop_background_widget_controller.h"
#include "ash/launcher/launcher.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
@@ -59,8 +58,6 @@ void ExpectAllContainers() {
EXPECT_TRUE(Shell::GetContainer(
root_window, internal::kShellWindowId_SystemModalContainer));
EXPECT_TRUE(Shell::GetContainer(
- root_window, internal::kShellWindowId_LockScreenBackgroundContainer));
- EXPECT_TRUE(Shell::GetContainer(
root_window, internal::kShellWindowId_LockScreenContainer));
EXPECT_TRUE(Shell::GetContainer(
root_window, internal::kShellWindowId_LockSystemModalContainer));
@@ -274,13 +271,8 @@ TEST_F(ShellTest, MAYBE_ManagedWindowModeBasics) {
EXPECT_EQ(Shell::GetPrimaryRootWindow()->GetHostSize().height(),
launcher_widget->GetWindowBoundsInScreen().bottom());
// We have a desktop background but not a bare layer.
- // TODO (antrim): enable once we find out why it fails component build.
- // internal::DesktopBackgroundWidgetController* background =
- // Shell::GetPrimaryRootWindow()->
- // GetProperty(internal::kWindowDesktopComponent);
- // EXPECT_TRUE(background);
- // EXPECT_TRUE(background->widget());
- // EXPECT_FALSE(background->layer());
+ EXPECT_TRUE(test_api.root_window_layout()->background_widget());
+ EXPECT_FALSE(test_api.root_window_layout()->background_layer());
// Create a normal window. It is not maximized.
views::Widget::InitParams widget_params(