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

Unified Diff: chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc

Issue 623613004: Revert of Make WindowState::CanMinimize() take into account WidgetDelegate::CanMinimize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « ash/wm/window_state.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc
diff --git a/chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc b/chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc
deleted file mode 100644
index 1f922881207afda192fff7230d9c0d7230f7ad72..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/chromeos/login/ui/login_web_dialog.h"
-
-#include "ash/shell.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/test/base/in_process_browser_test.h"
-#include "ui/aura/client/aura_constants.h"
-#include "ui/aura/window.h"
-#include "ui/wm/public/activation_client.h"
-
-namespace chromeos {
-
-typedef InProcessBrowserTest LoginWebDialogTest;
-
-// Test that LoginWebDialog is not minimizable.
-IN_PROC_BROWSER_TEST_F(LoginWebDialogTest, CannotMinimize) {
- LoginWebDialog* dialog = new LoginWebDialog(browser()->profile(),
- NULL,
- NULL,
- base::string16(),
- GURL(),
- LoginWebDialog::STYLE_BUBBLE);
- dialog->Show();
-
- aura::client::ActivationClient* activation_client =
- aura::client::GetActivationClient(
- ash::Shell::GetInstance()->GetPrimaryRootWindow());
- aura::Window* active_window = activation_client->GetActiveWindow();
- ASSERT_TRUE(active_window != NULL);
- EXPECT_FALSE(active_window->GetProperty(aura::client::kCanMinimizeKey));
-}
-
-} // namespace chromeos
« no previous file with comments | « ash/wm/window_state.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698