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

Side by Side Diff: chrome/browser/ui/ash/launcher/browser_launcher_item_controller_unittest.cc

Issue 10828223: launcher: Forgot to copy some test files, copy them now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/ash/launcher/browser_launcher_item_controller. h" 5 #include "chrome/browser/ui/views/ash/launcher/browser_launcher_item_controller. h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/launcher/launcher_model.h" 10 #include "ash/launcher/launcher_model.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 EXPECT_EQ(ash::STATUS_RUNNING, app_state.GetUpdaterItem().status); 403 EXPECT_EQ(ash::STATUS_RUNNING, app_state.GetUpdaterItem().status);
404 404
405 // App window should go to attention state. 405 // App window should go to attention state.
406 app_state.window.SetProperty(aura::client::kDrawAttentionKey, true); 406 app_state.window.SetProperty(aura::client::kDrawAttentionKey, true);
407 EXPECT_EQ(ash::STATUS_ATTENTION, app_state.GetUpdaterItem().status); 407 EXPECT_EQ(ash::STATUS_ATTENTION, app_state.GetUpdaterItem().status);
408 408
409 // Activating app window should clear attention state. 409 // Activating app window should clear attention state.
410 activation_client_->ActivateWindow(&app_state.window); 410 activation_client_->ActivateWindow(&app_state.window);
411 EXPECT_EQ(ash::STATUS_ACTIVE, app_state.GetUpdaterItem().status); 411 EXPECT_EQ(ash::STATUS_ACTIVE, app_state.GetUpdaterItem().status);
412 } 412 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698