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_PAGE_INFO_MODEL_H_ | 5 #ifndef CHROME_BROWSER_PAGE_INFO_MODEL_H_ |
6 #define CHROME_BROWSER_PAGE_INFO_MODEL_H_ | 6 #define CHROME_BROWSER_PAGE_INFO_MODEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "gfx/native_widget_types.h" | |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 #include "chrome/browser/cancelable_request.h" | 12 #include "chrome/browser/cancelable_request.h" |
14 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
15 #include "chrome/browser/tab_contents/navigation_entry.h" | 14 #include "chrome/browser/tab_contents/navigation_entry.h" |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 #include "ui/gfx/native_widget_types.h" |
17 | 17 |
18 class PrefService; | 18 class PrefService; |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 // The model that provides the information that should be displayed in the page | 21 // The model that provides the information that should be displayed in the page |
22 // info dialog/bubble. | 22 // info dialog/bubble. |
23 class PageInfoModel { | 23 class PageInfoModel { |
24 public: | 24 public: |
25 class PageInfoModelObserver { | 25 class PageInfoModelObserver { |
26 public: | 26 public: |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 std::vector<gfx::NativeImage> icons_; | 113 std::vector<gfx::NativeImage> icons_; |
114 | 114 |
115 // Used to request number of visits. | 115 // Used to request number of visits. |
116 CancelableRequestConsumer request_consumer_; | 116 CancelableRequestConsumer request_consumer_; |
117 | 117 |
118 private: | 118 private: |
119 DISALLOW_COPY_AND_ASSIGN(PageInfoModel); | 119 DISALLOW_COPY_AND_ASSIGN(PageInfoModel); |
120 }; | 120 }; |
121 | 121 |
122 #endif // CHROME_BROWSER_PAGE_INFO_MODEL_H_ | 122 #endif // CHROME_BROWSER_PAGE_INFO_MODEL_H_ |
OLD | NEW |