Support SizeClassIdiom on iOS7.
[chromium-blink-merge.git] / chrome / browser / ui / passwords / save_account_more_combobox_model.cc
blob7713e0575deac2285ba9898c57ac2228b175e10b
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/passwords/save_account_more_combobox_model.h"
7 #include "chrome/grit/generated_resources.h"
8 #include "ui/base/l10n/l10n_util.h"
10 SaveAccountMoreComboboxModel::SaveAccountMoreComboboxModel() {
11 items_.push_back(
12 l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_MORE_BUTTON));
13 items_.push_back(
14 l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_BLACKLIST_BUTTON));
15 items_.push_back(
16 l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SETTINGS_LINK));
19 SaveAccountMoreComboboxModel::~SaveAccountMoreComboboxModel() {}
21 int SaveAccountMoreComboboxModel::GetItemCount() const {
22 return items_.size();
25 base::string16 SaveAccountMoreComboboxModel::GetItemAt(int index) {
26 return items_[index];