summaryrefslogtreecommitdiffstats
path: root/ash/test
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 22:03:38 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 22:03:38 +0000
commit6fa1822b68c9249e7d4306d5216726e45177f653 (patch)
tree6dcbf1b2ef2411ef297d67a3d1babeec343aa3f9 /ash/test
parenta390331c41538fb075438294ff716464a0473123 (diff)
downloadchromium_src-6fa1822b68c9249e7d4306d5216726e45177f653.zip
chromium_src-6fa1822b68c9249e7d4306d5216726e45177f653.tar.gz
chromium_src-6fa1822b68c9249e7d4306d5216726e45177f653.tar.bz2
Revert 137968 - Adding four bezel gestures
Reverted due to compile failure on Linux CrOS BUG=126061, 126060, 123167 TEST=Unit test Review URL: https://chromiumcodereview.appspot.com/10383108 TBR=skuhne@chromium.org Review URL: https://chromiumcodereview.appspot.com/10412012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test')
-rw-r--r--ash/test/test_launcher_delegate.cc7
-rw-r--r--ash/test/test_launcher_delegate.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/ash/test/test_launcher_delegate.cc b/ash/test/test_launcher_delegate.cc
index cec42a7..bb5f0d2 100644
--- a/ash/test/test_launcher_delegate.cc
+++ b/ash/test/test_launcher_delegate.cc
@@ -26,19 +26,12 @@ TestLauncherDelegate::~TestLauncherDelegate() {
}
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);
diff --git a/ash/test/test_launcher_delegate.h b/ash/test/test_launcher_delegate.h
index f56be8f..7cc0203 100644
--- a/ash/test/test_launcher_delegate.h
+++ b/ash/test/test_launcher_delegate.h
@@ -28,7 +28,6 @@ class TestLauncherDelegate : public LauncherDelegate,
virtual ~TestLauncherDelegate();
void AddLauncherItem(aura::Window* window);
- void AddLauncherItem(aura::Window* window, LauncherItemStatus status);
static TestLauncherDelegate* instance() { return instance_; }