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

Unified Diff: chrome/browser/omnibox_search_hint.h

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/omnibox_search_hint.h
===================================================================
--- chrome/browser/omnibox_search_hint.h (revision 175396)
+++ chrome/browser/omnibox_search_hint.h (working copy)
@@ -5,9 +5,6 @@
#ifndef CHROME_BROWSER_OMNIBOX_SEARCH_HINT_H_
#define CHROME_BROWSER_OMNIBOX_SEARCH_HINT_H_
-#include <map>
-#include <string>
-
#include "base/compiler_specific.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -50,17 +47,11 @@
explicit OmniboxSearchHint(content::WebContents* web_contents);
friend class content::WebContentsUserData<OmniboxSearchHint>;
- void ShowInfoBar();
-
content::NotificationRegistrar notification_registrar_;
// The contents we are associated with.
content::WebContents* web_contents_;
- // A map containing the URLs of the search engine for which we want to
- // trigger the hint.
- std::map<std::string, int> search_engine_urls_;
-
DISALLOW_COPY_AND_ASSIGN(OmniboxSearchHint);
};
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698