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_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/search/instant_service_observer.h" | 14 #include "chrome/browser/search/instant_service_observer.h" |
15 #include "chrome/browser/ui/search/search_ipc_router.h" | 15 #include "chrome/browser/ui/search/search_ipc_router.h" |
16 #include "chrome/browser/ui/search/search_model.h" | 16 #include "chrome/browser/ui/search/search_model.h" |
17 #include "chrome/common/instant_types.h" | 17 #include "chrome/common/search/instant_types.h" |
18 #include "chrome/common/ntp_logging_events.h" | 18 #include "chrome/common/search/ntp_logging_events.h" |
19 #include "components/omnibox/common/omnibox_focus_state.h" | 19 #include "components/omnibox/common/omnibox_focus_state.h" |
20 #include "content/public/browser/web_contents_observer.h" | 20 #include "content/public/browser/web_contents_observer.h" |
21 #include "content/public/browser/web_contents_user_data.h" | 21 #include "content/public/browser/web_contents_user_data.h" |
22 #include "ui/base/window_open_disposition.h" | 22 #include "ui/base/window_open_disposition.h" |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class WebContents; | 25 class WebContents; |
26 struct LoadCommittedDetails; | 26 struct LoadCommittedDetails; |
27 } | 27 } |
28 | 28 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 SearchTabHelperDelegate* delegate_; | 228 SearchTabHelperDelegate* delegate_; |
229 | 229 |
230 // Function to check if the omnibox has focus. Tests use this to modify the | 230 // Function to check if the omnibox has focus. Tests use this to modify the |
231 // default behavior. | 231 // default behavior. |
232 OmniboxHasFocusFn omnibox_has_focus_fn_; | 232 OmniboxHasFocusFn omnibox_has_focus_fn_; |
233 | 233 |
234 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); | 234 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); |
235 }; | 235 }; |
236 | 236 |
237 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 237 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
OLD | NEW |