| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 6 #define CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
| 14 #include "ui/base/models/table_model.h" | 14 #include "ui/base/models/table_model.h" |
| 15 | 15 |
| 16 class GURL; | 16 class GURL; |
| 17 class Profile; | 17 class Profile; |
| 18 class SkBitmap; | |
| 19 | 18 |
| 20 namespace ui { | 19 namespace ui { |
| 21 class TableModelObserver; | 20 class TableModelObserver; |
| 22 } | 21 } |
| 23 | 22 |
| 24 // CustomHomePagesTableModel is the model for the TableView showing the list | 23 // CustomHomePagesTableModel is the model for the TableView showing the list |
| 25 // of pages the user wants opened on startup. | 24 // of pages the user wants opened on startup. |
| 26 | 25 |
| 27 class CustomHomePagesTableModel : public ui::TableModel { | 26 class CustomHomePagesTableModel : public ui::TableModel { |
| 28 public: | 27 public: |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 87 |
| 89 ui::TableModelObserver* observer_; | 88 ui::TableModelObserver* observer_; |
| 90 | 89 |
| 91 // Used in loading titles. | 90 // Used in loading titles. |
| 92 CancelableRequestConsumer history_query_consumer_; | 91 CancelableRequestConsumer history_query_consumer_; |
| 93 | 92 |
| 94 DISALLOW_COPY_AND_ASSIGN(CustomHomePagesTableModel); | 93 DISALLOW_COPY_AND_ASSIGN(CustomHomePagesTableModel); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 #endif // CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 96 #endif // CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
| OLD | NEW |