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

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

Issue 2151483004: Remove embeddedSearch.newTabPage.GetAppLauncherEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused include, rebase Created 4 years, 4 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 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_POLICY_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_POLICY_IMPL_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_POLICY_IMPL_H_ 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_POLICY_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/search/search_ipc_router.h" 9 #include "chrome/browser/ui/search/search_ipc_router.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 // Overridden from SearchIPCRouter::Policy: 24 // Overridden from SearchIPCRouter::Policy:
25 bool ShouldProcessFocusOmnibox(bool is_active_tab) override; 25 bool ShouldProcessFocusOmnibox(bool is_active_tab) override;
26 bool ShouldProcessDeleteMostVisitedItem() override; 26 bool ShouldProcessDeleteMostVisitedItem() override;
27 bool ShouldProcessUndoMostVisitedDeletion() override; 27 bool ShouldProcessUndoMostVisitedDeletion() override;
28 bool ShouldProcessUndoAllMostVisitedDeletions() override; 28 bool ShouldProcessUndoAllMostVisitedDeletions() override;
29 bool ShouldProcessLogEvent() override; 29 bool ShouldProcessLogEvent() override;
30 bool ShouldProcessPasteIntoOmnibox(bool is_active_tab) override; 30 bool ShouldProcessPasteIntoOmnibox(bool is_active_tab) override;
31 bool ShouldProcessChromeIdentityCheck() override; 31 bool ShouldProcessChromeIdentityCheck() override;
32 bool ShouldProcessHistorySyncCheck() override; 32 bool ShouldProcessHistorySyncCheck() override;
33 bool ShouldSendSetPromoInformation() override;
34 bool ShouldSendSetDisplayInstantResults() override; 33 bool ShouldSendSetDisplayInstantResults() override;
35 bool ShouldSendSetSuggestionToPrefetch() override; 34 bool ShouldSendSetSuggestionToPrefetch() override;
36 bool ShouldSendSetInputInProgress(bool is_active_tab) override; 35 bool ShouldSendSetInputInProgress(bool is_active_tab) override;
37 bool ShouldSendOmniboxFocusChanged() override; 36 bool ShouldSendOmniboxFocusChanged() override;
38 bool ShouldSendMostVisitedItems() override; 37 bool ShouldSendMostVisitedItems() override;
39 bool ShouldSendThemeBackgroundInfo() override; 38 bool ShouldSendThemeBackgroundInfo() override;
40 bool ShouldSubmitQuery() override; 39 bool ShouldSubmitQuery() override;
41 40
42 // Used by unit tests. 41 // Used by unit tests.
43 void set_is_incognito(bool is_incognito) { 42 void set_is_incognito(bool is_incognito) {
44 is_incognito_ = is_incognito; 43 is_incognito_ = is_incognito;
45 } 44 }
46 45
47 const content::WebContents* web_contents_; 46 const content::WebContents* web_contents_;
48 bool is_incognito_; 47 bool is_incognito_;
49 48
50 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouterPolicyImpl); 49 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouterPolicyImpl);
51 }; 50 };
52 51
53 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_POLICY_IMPL_H_ 52 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_POLICY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698