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

Unified Diff: ui/base/models/list_model_observer.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/base/models/list_model.h ('k') | ui/base/models/list_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/list_model_observer.h
diff --git a/ui/base/models/list_model_observer.h b/ui/base/models/list_model_observer.h
deleted file mode 100644
index cc8be0f6e0aebe0c962653e114f219c65c48e0ae..0000000000000000000000000000000000000000
--- a/ui/base/models/list_model_observer.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 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_BASE_MODELS_LIST_MODEL_OBSERVER_H_
-#define UI_BASE_MODELS_LIST_MODEL_OBSERVER_H_
-
-#include <stddef.h>
-
-#include "ui/base/ui_base_export.h"
-
-namespace ui {
-
-class UI_BASE_EXPORT ListModelObserver {
- public:
- // Invoked after items has been added to the model.
- virtual void ListItemsAdded(size_t start, size_t count) = 0;
-
- // Invoked after items has been removed. |start| is the index before the
- // removal.
- virtual void ListItemsRemoved(size_t start, size_t count) = 0;
-
- // Invoked after an item has been moved. See ListModel::Move() for details
- // of the arguments.
- virtual void ListItemMoved(size_t index, size_t target_index) = 0;
-
- // Invoked after items has been changed.
- virtual void ListItemsChanged(size_t start, size_t count) = 0;
-
- protected:
- virtual ~ListModelObserver() {}
-};
-
-} // namespace ui
-
-#endif // UI_BASE_MODELS_LIST_MODEL_OBSERVER_H_
« no previous file with comments | « ui/base/models/list_model.h ('k') | ui/base/models/list_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698