| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_POSSIBLE_URL_MODEL_H_ | 5 #ifndef CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
| 6 #define CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ | 6 #define CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> |
| 9 #include <string> | 10 #include <string> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "app/table_model.h" | 13 #include "app/table_model.h" |
| 13 #include "app/text_elider.h" | 14 #include "app/text_elider.h" |
| 14 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 15 #include "chrome/browser/history/history.h" | 16 #include "chrome/browser/history/history.h" |
| 16 #include "third_party/skia/include/core/SkBitmap.h" | 17 #include "third_party/skia/include/core/SkBitmap.h" |
| 17 | 18 |
| 18 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 std::vector<Result> results_; | 86 std::vector<Result> results_; |
| 86 | 87 |
| 87 // Map Result::index -> Favicon. | 88 // Map Result::index -> Favicon. |
| 88 typedef std::map<size_t, SkBitmap> FavIconMap; | 89 typedef std::map<size_t, SkBitmap> FavIconMap; |
| 89 FavIconMap fav_icon_map_; | 90 FavIconMap fav_icon_map_; |
| 90 | 91 |
| 91 DISALLOW_COPY_AND_ASSIGN(PossibleURLModel); | 92 DISALLOW_COPY_AND_ASSIGN(PossibleURLModel); |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 #endif // CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ | 95 #endif // CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
| OLD | NEW |