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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/common/instant_types.h" | 13 #include "chrome/common/instant_types.h" |
14 #include "chrome/common/ntp_logging_events.h" | 14 #include "chrome/common/ntp_logging_events.h" |
15 #include "chrome/common/omnibox_focus_state.h" | |
16 #include "chrome/renderer/instant_restricted_id_cache.h" | 15 #include "chrome/renderer/instant_restricted_id_cache.h" |
| 16 #include "components/omnibox/common/omnibox_focus_state.h" |
17 #include "content/public/renderer/render_view_observer.h" | 17 #include "content/public/renderer/render_view_observer.h" |
18 #include "content/public/renderer/render_view_observer_tracker.h" | 18 #include "content/public/renderer/render_view_observer_tracker.h" |
19 #include "ui/base/window_open_disposition.h" | 19 #include "ui/base/window_open_disposition.h" |
20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class RenderView; | 23 class RenderView; |
24 } | 24 } |
25 | 25 |
26 class SearchBox : public content::RenderViewObserver, | 26 class SearchBox : public content::RenderViewObserver, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 ThemeBackgroundInfo theme_info_; | 188 ThemeBackgroundInfo theme_info_; |
189 base::string16 query_; | 189 base::string16 query_; |
190 EmbeddedSearchRequestParams embedded_search_request_params_; | 190 EmbeddedSearchRequestParams embedded_search_request_params_; |
191 int start_margin_; | 191 int start_margin_; |
192 InstantSuggestion suggestion_; | 192 InstantSuggestion suggestion_; |
193 | 193 |
194 DISALLOW_COPY_AND_ASSIGN(SearchBox); | 194 DISALLOW_COPY_AND_ASSIGN(SearchBox); |
195 }; | 195 }; |
196 | 196 |
197 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ | 197 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ |
OLD | NEW |