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

Unified Diff: ui/views/controls/prefix_delegate.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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
« no previous file with comments | « ui/views/controls/native/native_view_host_wrapper.h ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/prefix_delegate.h
diff --git a/ui/views/controls/prefix_delegate.h b/ui/views/controls/prefix_delegate.h
deleted file mode 100644
index 07d85989f0e83cb73cba8537529d08645d1cb557..0000000000000000000000000000000000000000
--- a/ui/views/controls/prefix_delegate.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 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 UI_VIEWS_CONTROLS_PREFIX_DELEGATE_H_
-#define UI_VIEWS_CONTROLS_PREFIX_DELEGATE_H_
-
-#include "ui/views/view.h"
-
-namespace views {
-
-// An interface used to expose lists of items for selection by text input.
-class VIEWS_EXPORT PrefixDelegate : public View {
- public:
- // Returns the total number of selectable items.
- virtual int GetRowCount() = 0;
-
- // Returns the row of the currently selected item, or -1 if no item is
- // selected.
- virtual int GetSelectedRow() = 0;
-
- // Sets the selection to the specified row.
- virtual void SetSelectedRow(int row) = 0;
-
- // Returns the item at the specified row.
- virtual base::string16 GetTextForRow(int row) = 0;
-
- protected:
- virtual ~PrefixDelegate() {}
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_PREFIX_DELEGATE_H_
« no previous file with comments | « ui/views/controls/native/native_view_host_wrapper.h ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698