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

Unified Diff: chrome/browser/ui/app_list/search/omnibox_provider.h

Issue 644863002: Introduce OpenURL to AppListControllerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/search/omnibox_provider.h
diff --git a/chrome/browser/ui/app_list/search/omnibox_provider.h b/chrome/browser/ui/app_list/search/omnibox_provider.h
index ebb166d28b1f1ba14812d88a3bef0d09ec98866b..31ff2a0ee1acdac1709087f5b39c4a18cf492260 100644
--- a/chrome/browser/ui/app_list/search/omnibox_provider.h
+++ b/chrome/browser/ui/app_list/search/omnibox_provider.h
@@ -10,6 +10,7 @@
#include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
#include "ui/app_list/search_provider.h"
+class AppListControllerDelegate;
class AutocompleteController;
class AutocompleteResult;
class Profile;
@@ -20,7 +21,8 @@ namespace app_list {
class OmniboxProvider : public SearchProvider,
public AutocompleteControllerDelegate {
public:
- explicit OmniboxProvider(Profile* profile);
+ explicit OmniboxProvider(Profile* profile,
+ AppListControllerDelegate* list_controller);
virtual ~OmniboxProvider();
// SearchProvider overrides:
@@ -35,6 +37,7 @@ class OmniboxProvider : public SearchProvider,
virtual void OnResultChanged(bool default_match_changed) override;
Profile* profile_;
+ AppListControllerDelegate* list_controller_;
// The omnibox AutocompleteController that collects/sorts/dup-
// eliminates the results as they come in.

Powered by Google App Engine
This is Rietveld 408576698