summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_table_model.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-31 02:36:23 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-31 02:36:23 +0000
commite80daf62322d8494212abacd6c810eddef59b2be (patch)
tree6d338dab3602fe38d94a98d690948e9ce2e92ecc /chrome/browser/bookmarks/bookmark_table_model.h
parent6e9b3df82a13faebedf10cfca50392f8d909d71b (diff)
downloadchromium_src-e80daf62322d8494212abacd6c810eddef59b2be.zip
chromium_src-e80daf62322d8494212abacd6c810eddef59b2be.tar.gz
chromium_src-e80daf62322d8494212abacd6c810eddef59b2be.tar.bz2
Split out the views table functions into separate header files. Many users only
need either the view or model observers and that's it. I moved the model constructors to a .cc file so we don't have to include l10n_util.h for everybody. A surprising number of files were getting l10n_util from the table code, so I had to add it in a bunch of places. There should be no code change except I made the table column cosntructors take wstring references instead of copies. Review URL: http://codereview.chromium.org/115969 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_table_model.h')
-rw-r--r--chrome/browser/bookmarks/bookmark_table_model.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/bookmarks/bookmark_table_model.h b/chrome/browser/bookmarks/bookmark_table_model.h
index 77ad787..7832f35 100644
--- a/chrome/browser/bookmarks/bookmark_table_model.h
+++ b/chrome/browser/bookmarks/bookmark_table_model.h
@@ -5,13 +5,12 @@
#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_TABLE_MODEL_H_
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_TABLE_MODEL_H_
-#include "chrome/browser/bookmarks/bookmark_model.h"
-
#include "build/build_config.h"
+#include "chrome/browser/bookmarks/bookmark_model.h"
-#if defined(OS_WIN)
-#include "views/controls/table/table_view.h"
-#elif defined(OS_POSIX)
+#if defined(TOOLKIT_VIEWS)
+#include "views/controls/table/table_model.h"
+#else
#include "chrome/common/temp_scaffolding_stubs.h"
#endif