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

Unified Diff: chrome/browser/views/keyword_editor_view.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/hung_renderer_view.cc ('k') | chrome/browser/views/keyword_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/keyword_editor_view.h
===================================================================
--- chrome/browser/views/keyword_editor_view.h (revision 18411)
+++ chrome/browser/views/keyword_editor_view.h (working copy)
@@ -8,9 +8,9 @@
#include <Windows.h>
#include <map>
+#include "app/table_model.h"
#include "chrome/browser/search_engines/template_url_model.h"
#include "views/controls/button/button.h"
-#include "views/controls/table/table_model.h"
#include "views/controls/table/table_view_observer.h"
#include "views/view.h"
#include "views/window/dialog_delegate.h"
@@ -40,7 +40,7 @@
// the favicon. The entries in the model are sorted such that non-generated
// appear first (grouped together) and are followed by generated keywords.
-class TemplateURLTableModel : public views::TableModel {
+class TemplateURLTableModel : public TableModel {
public:
explicit TemplateURLTableModel(TemplateURLModel* template_url_model);
@@ -54,7 +54,7 @@
virtual int RowCount();
virtual std::wstring GetText(int row, int column);
virtual SkBitmap GetIcon(int row);
- virtual void SetObserver(views::TableModelObserver* observer);
+ virtual void SetObserver(TableModelObserver* observer);
virtual bool HasGroups();
virtual Groups GetGroups();
virtual int GetGroupID(int row);
@@ -96,7 +96,7 @@
// Notification that a model entry has fetched its icon.
void FavIconAvailable(ModelEntry* entry);
- views::TableModelObserver* observer_;
+ TableModelObserver* observer_;
// The entries.
std::vector<ModelEntry*> entries_;
« no previous file with comments | « chrome/browser/views/hung_renderer_view.cc ('k') | chrome/browser/views/keyword_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698