Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: chrome/browser/ui/search/search_tab_helper.h

Issue 1224203003: Componentize //chrome/common/omnibox_focus_state.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@omnibox_component_browser_subdir
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.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/instant_types.h"
18 #include "chrome/common/ntp_logging_events.h" 18 #include "chrome/common/ntp_logging_events.h"
19 #include "chrome/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
29 class GURL; 29 class GURL;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 SearchTabHelperDelegate* delegate_; 234 SearchTabHelperDelegate* delegate_;
235 235
236 // Function to check if the omnibox has focus. Tests use this to modify the 236 // Function to check if the omnibox has focus. Tests use this to modify the
237 // default behavior. 237 // default behavior.
238 OmniboxHasFocusFn omnibox_has_focus_fn_; 238 OmniboxHasFocusFn omnibox_has_focus_fn_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 240 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
241 }; 241 };
242 242
243 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 243 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698