diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 21:08:56 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 21:08:56 +0000 |
commit | 312200a31582330d0c68b9c29ab9aa10775c3568 (patch) | |
tree | ec474055482e8d7d2c8746b772cb2e504d89890e /chrome/common/gtk_tree.h | |
parent | 984de557ddb857f79886a24677ce2e6c1f9162b5 (diff) | |
download | chromium_src-312200a31582330d0c68b9c29ab9aa10775c3568.zip chromium_src-312200a31582330d0c68b9c29ab9aa10775c3568.tar.gz chromium_src-312200a31582330d0c68b9c29ab9aa10775c3568.tar.bz2 |
Rename gtk_tree::ModelAdapter to TableAdapter in preparation for adding TreeAdapter.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/374007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_tree.h')
-rw-r--r-- | chrome/common/gtk_tree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/gtk_tree.h b/chrome/common/gtk_tree.h index e0f7ba8..af9aa88 100644 --- a/chrome/common/gtk_tree.h +++ b/chrome/common/gtk_tree.h @@ -29,7 +29,7 @@ gint GetTreeSortChildRowNumForPath(GtkTreeModel* sort_model, void SelectAndFocusRowNum(int row, GtkTreeView* tree_view); // A helper class for populating a GtkListStore from a TableModel. -class ModelAdapter : public TableModelObserver { +class TableAdapter : public TableModelObserver { public: class Delegate { public: @@ -49,9 +49,9 @@ class ModelAdapter : public TableModelObserver { }; // |table_model| may be NULL. - explicit ModelAdapter(Delegate* delegate, GtkListStore* list_store, + explicit TableAdapter(Delegate* delegate, GtkListStore* list_store, TableModel* table_model); - virtual ~ModelAdapter() {} + virtual ~TableAdapter() {} // Replace the TableModel with a different one. If the list store currenty // has items this would cause weirdness, so this should generally only be @@ -73,7 +73,7 @@ class ModelAdapter : public TableModelObserver { GtkListStore* list_store_; TableModel* table_model_; - DISALLOW_COPY_AND_ASSIGN(ModelAdapter); + DISALLOW_COPY_AND_ASSIGN(TableAdapter); }; } // namespace gtk_tree |