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

Side by Side Diff: views/controls/table/table_model_observer.h

Issue 126184: Move TableModel out of views/ and into app/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: addressed comments, build fixes Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/controls/table/table_model.cc ('k') | views/controls/table/table_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 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.
4
5 #ifndef VIEWS_CONTROL_TABLE_TABLE_MODEL_OBSERVER_H_
6 #define VIEWS_CONTROL_TABLE_TABLE_MODEL_OBSERVER_H_
7
8 namespace views {
9
10 // Observer for a TableModel. Anytime the model changes, it must notify its
11 // observer.
12 class TableModelObserver {
13 public:
14 // Invoked when the model has been completely changed.
15 virtual void OnModelChanged() = 0;
16
17 // Invoked when a range of items has changed.
18 virtual void OnItemsChanged(int start, int length) = 0;
19
20 // Invoked when new items are added.
21 virtual void OnItemsAdded(int start, int length) = 0;
22
23 // Invoked when a range of items has been removed.
24 virtual void OnItemsRemoved(int start, int length) = 0;
25 };
26
27 } // namespace views
28
29 #endif // VIEWS_CONTROL_TABLE_TABLE_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « views/controls/table/table_model.cc ('k') | views/controls/table/table_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698