Commit 864c7eaf authored by sky@chromium.org's avatar sky@chromium.org

Minor whitepsace tweaks.

BUG=none
TEST=none
TBR=ben@chromium.org
R=ben@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10854119

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151269 0039d316-1c4b-4281-b951-d872f2087c98
parent 46f7a8a0
......@@ -42,9 +42,11 @@ bool TestActivationDelegate::ShouldActivate(const ui::Event* event) {
should_activate_count_++;
return activate_;
}
void TestActivationDelegate::OnActivated() {
activated_count_++;
}
void TestActivationDelegate::OnLostActive() {
if (lost_active_count_++ == 0)
window_was_active_ = wm::IsActiveWindow(window_);
......
......@@ -150,7 +150,7 @@ TEST_F(WindowManagerTest, Focus) {
EXPECT_EQ(w12.get(), w12->GetFocusManager()->GetFocusedWindow());
// Set the focus to w123, but make the w1 not activatable.
test::TestActivationDelegate *activation_delegate = new
test::TestActivationDelegate* activation_delegate = new
test::TestActivationDelegate(false);
w123->Focus();
EXPECT_EQ(w123.get(), w12->GetFocusManager()->GetFocusedWindow());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment