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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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_INSTANT_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 14
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "chrome/browser/ui/search/instant_tab.h" 18 #include "chrome/browser/ui/search/instant_tab.h"
19 #include "chrome/common/search/search_types.h" 19 #include "chrome/common/search/search_types.h"
20 20
21 class BrowserInstantController; 21 class BrowserInstantController;
22 class GURL; 22 class GURL;
23 class InstantService; 23 class InstantService;
24 class Profile;
25 24
26 namespace content { 25 namespace content {
27 class WebContents; 26 class WebContents;
28 } 27 }
29 28
30 // InstantController drives Chrome Instant, i.e., the browser implementation of 29 // InstantController drives Chrome Instant, i.e., the browser implementation of
31 // the Embedded Search API (see http://dev.chromium.org/embeddedsearch). 30 // the Embedded Search API (see http://dev.chromium.org/embeddedsearch).
32 // 31 //
33 // In extended mode, InstantController maintains and coordinates an InstantTab. 32 // In extended mode, InstantController maintains and coordinates an InstantTab.
34 // An InstantTab instance points to the currently active tab, if it supports the 33 // An InstantTab instance points to the currently active tab, if it supports the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // The search model mode for the active tab. 115 // The search model mode for the active tab.
117 SearchMode search_mode_; 116 SearchMode search_mode_;
118 117
119 // List of events and their timestamps, useful in debugging Instant behaviour. 118 // List of events and their timestamps, useful in debugging Instant behaviour.
120 mutable std::list<std::pair<int64_t, std::string>> debug_events_; 119 mutable std::list<std::pair<int64_t, std::string>> debug_events_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(InstantController); 121 DISALLOW_COPY_AND_ASSIGN(InstantController);
123 }; 122 };
124 123
125 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ 124 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.h ('k') | chrome/browser/ui/search/instant_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698