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

Unified Diff: chrome/browser/ui/passwords/account_chooser_more_combobox_model.h

Issue 1610653002: Integrate the account chooser dialog on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 11 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
Index: chrome/browser/ui/passwords/account_chooser_more_combobox_model.h
diff --git a/chrome/browser/ui/passwords/account_chooser_more_combobox_model.h b/chrome/browser/ui/passwords/account_chooser_more_combobox_model.h
deleted file mode 100644
index 3c0d168c71ff77b9a8534a51a914ed5b8ef616a5..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/passwords/account_chooser_more_combobox_model.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
-#define CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
-
-#include "base/macros.h"
-#include "ui/base/models/combobox_model.h"
-
-// Model for the account chooser's "More" combobox.
-class AccountChooserMoreComboboxModel : public ui::ComboboxModel {
- public:
- AccountChooserMoreComboboxModel();
- ~AccountChooserMoreComboboxModel() override;
-
- // Index constants.
- static const int INDEX_MORE;
- static const int INDEX_LEARN_MORE;
- static const int INDEX_SETTINGS;
-
- // ui::ComboboxModel:
- int GetItemCount() const override;
- base::string16 GetItemAt(int index) override;
- bool IsItemSeparatorAt(int index) override;
- int GetDefaultIndex() const override;
- bool IsItemEnabledAt(int index) const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AccountChooserMoreComboboxModel);
-};
-
-#endif // CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_

Powered by Google App Engine
This is Rietveld 408576698