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

Unified Diff: ash/launcher/launcher_view.cc

Issue 10825252: cleanup: Remove dead code in launcher_view. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/launcher/launcher_view.h ('k') | ash/test/launcher_view_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view.cc
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index fdcbdb0ba7abfa6a771c79ef2f9b220c7b9c9b14..9ce72b20452ded22d8a130b66bcf7babf7b5b56d 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -686,22 +686,6 @@ void LauncherView::ConfigureChildView(views::View* view) {
view->layer()->SetFillsBoundsOpaquely(false);
}
-void LauncherView::GetOverflowItems(std::vector<LauncherItem>* items) {
- int index = 0;
- while (index < view_model_->view_size() &&
- view_model_->view_at(index)->visible()) {
- index++;
- }
- while (index < view_model_->view_size()) {
- const LauncherItem& item = model_->items()[index];
- if (item.type == TYPE_TABBED ||
- item.type == TYPE_APP_PANEL ||
- item.type == TYPE_APP_SHORTCUT)
- items->push_back(item);
- index++;
- }
-}
-
void LauncherView::ShowOverflowBubble() {
int first_overflow_index = last_visible_index_ + 1;
DCHECK_LT(first_overflow_index, view_model_->view_size() - 1);
« no previous file with comments | « ash/launcher/launcher_view.h ('k') | ash/test/launcher_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698