OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IPC_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.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" | 15 #include "components/omnibox/common/omnibox_focus_state.h" |
16 #include "content/public/browser/web_contents_observer.h" | 16 #include "content/public/browser/web_contents_observer.h" |
17 #include "ui/base/window_open_disposition.h" | 17 #include "ui/base/window_open_disposition.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class WebContents; | 22 class WebContents; |
23 } | 23 } |
24 | 24 |
25 class SearchIPCRouterTest; | 25 class SearchIPCRouterTest; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // SearchIPCRouter to ensure that delayed IPC replies are ignored. | 243 // SearchIPCRouter to ensure that delayed IPC replies are ignored. |
244 int commit_counter_; | 244 int commit_counter_; |
245 | 245 |
246 // Set to true, when the tab corresponding to |this| instance is active. | 246 // Set to true, when the tab corresponding to |this| instance is active. |
247 bool is_active_tab_; | 247 bool is_active_tab_; |
248 | 248 |
249 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter); | 249 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter); |
250 }; | 250 }; |
251 | 251 |
252 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ | 252 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
OLD | NEW |