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

Unified Diff: ash/test/test_launcher_delegate.cc

Issue 10412012: Revert 137968 - Adding four bezel gestures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/test/test_launcher_delegate.h ('k') | ash/volume_control_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_launcher_delegate.cc
===================================================================
--- ash/test/test_launcher_delegate.cc (revision 137969)
+++ ash/test/test_launcher_delegate.cc (working copy)
@@ -26,19 +26,12 @@
}
void TestLauncherDelegate::AddLauncherItem(aura::Window* window) {
- AddLauncherItem(window, STATUS_CLOSED);
-}
-
-void TestLauncherDelegate::AddLauncherItem(
- aura::Window* window,
- LauncherItemStatus status) {
ash::LauncherItem item;
item.type = ash::TYPE_TABBED;
DCHECK(window_to_id_.find(window) == window_to_id_.end());
window_to_id_[window] = model_->next_id();
item.image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16);
item.image.allocPixels();
- item.status = status;
model_->Add(item);
if (observed_windows_.find(window->parent()) == observed_windows_.end()) {
window->parent()->AddObserver(this);
« no previous file with comments | « ash/test/test_launcher_delegate.h ('k') | ash/volume_control_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698