OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_RENDERER_SEARCHBOX_SEARCHBOX_H_ | 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ |
6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ | 6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "chrome/common/instant_restricted_id_cache.h" | |
13 #include "chrome/common/instant_types.h" | 12 #include "chrome/common/instant_types.h" |
14 #include "chrome/common/ntp_logging_events.h" | 13 #include "chrome/common/ntp_logging_events.h" |
15 #include "chrome/common/omnibox_focus_state.h" | 14 #include "chrome/common/omnibox_focus_state.h" |
| 15 #include "chrome/renderer/instant_restricted_id_cache.h" |
16 #include "content/public/renderer/render_view_observer.h" | 16 #include "content/public/renderer/render_view_observer.h" |
17 #include "content/public/renderer/render_view_observer_tracker.h" | 17 #include "content/public/renderer/render_view_observer_tracker.h" |
18 #include "ui/base/window_open_disposition.h" | 18 #include "ui/base/window_open_disposition.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class RenderView; | 22 class RenderView; |
23 } | 23 } |
24 | 24 |
25 class SearchBox : public content::RenderViewObserver, | 25 class SearchBox : public content::RenderViewObserver, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; | 151 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; |
152 ThemeBackgroundInfo theme_info_; | 152 ThemeBackgroundInfo theme_info_; |
153 base::string16 query_; | 153 base::string16 query_; |
154 int start_margin_; | 154 int start_margin_; |
155 InstantSuggestion suggestion_; | 155 InstantSuggestion suggestion_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(SearchBox); | 157 DISALLOW_COPY_AND_ASSIGN(SearchBox); |
158 }; | 158 }; |
159 | 159 |
160 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ | 160 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ |
OLD | NEW |