| 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_UI_SEARCH_ENGINES_TEMPLATE_URL_TABLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_TABLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_TABLE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_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 "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "chrome/browser/search_engines/template_url_service_observer.h" | 14 #include "chrome/browser/search_engines/template_url_service_observer.h" |
| 15 #include "ui/base/models/table_model.h" | 15 #include "ui/base/models/table_model.h" |
| 16 | 16 |
| 17 class ModelEntry; | 17 class ModelEntry; |
| 18 class SkBitmap; | |
| 19 class TemplateURL; | 18 class TemplateURL; |
| 20 class TemplateURLService; | 19 class TemplateURLService; |
| 21 | 20 |
| 22 namespace gfx { | 21 namespace gfx { |
| 23 class ImageSkia; | 22 class ImageSkia; |
| 24 } | 23 } |
| 25 | 24 |
| 26 // TemplateURLTableModel is the TableModel implementation used by | 25 // TemplateURLTableModel is the TableModel implementation used by |
| 27 // KeywordEditorView to show the keywords in a TableView. | 26 // KeywordEditorView to show the keywords in a TableView. |
| 28 // | 27 // |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 117 |
| 119 // Index of the last search engine in entries_. This is used to determine the | 118 // Index of the last search engine in entries_. This is used to determine the |
| 120 // group boundaries. | 119 // group boundaries. |
| 121 int last_search_engine_index_; | 120 int last_search_engine_index_; |
| 122 | 121 |
| 123 DISALLOW_COPY_AND_ASSIGN(TemplateURLTableModel); | 122 DISALLOW_COPY_AND_ASSIGN(TemplateURLTableModel); |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 | 125 |
| 127 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_TABLE_MODEL_H_ | 126 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_TEMPLATE_URL_TABLE_MODEL_H_ |
| OLD | NEW |