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

Side by Side Diff: chrome/browser/ui/search_engines/search_engine_tab_helper.h

Issue 2177123003: Move SearchProvider implementation into Blink and make it a no-op. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 10 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
11 #include "chrome/browser/ui/find_bar/find_notification_details.h" 11 #include "chrome/browser/ui/find_bar/find_notification_details.h"
12 #include "chrome/common/search_provider.h"
13 #include "content/public/browser/web_contents_observer.h" 12 #include "content/public/browser/web_contents_observer.h"
14 #include "content/public/browser/web_contents_user_data.h" 13 #include "content/public/browser/web_contents_user_data.h"
15 14
16 class TemplateURL; 15 class TemplateURL;
17 16
18 // Per-tab search engine manager. Handles dealing search engine processing 17 // Per-tab search engine manager. Handles dealing search engine processing
19 // functionality. 18 // functionality.
20 class SearchEngineTabHelper 19 class SearchEngineTabHelper
21 : public content::WebContentsObserver, 20 : public content::WebContentsObserver,
22 public content::WebContentsUserData<SearchEngineTabHelper> { 21 public content::WebContentsUserData<SearchEngineTabHelper> {
(...skipping 16 matching lines...) Expand all
39 void OnPageHasOSDD(const GURL& page_url, const GURL& osdd_url); 38 void OnPageHasOSDD(const GURL& page_url, const GURL& osdd_url);
40 39
41 // If params has a searchable form, this tries to create a new keyword. 40 // If params has a searchable form, this tries to create a new keyword.
42 void GenerateKeywordIfNecessary( 41 void GenerateKeywordIfNecessary(
43 const content::FrameNavigateParams& params); 42 const content::FrameNavigateParams& params);
44 43
45 DISALLOW_COPY_AND_ASSIGN(SearchEngineTabHelper); 44 DISALLOW_COPY_AND_ASSIGN(SearchEngineTabHelper);
46 }; 45 };
47 46
48 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_ 47 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/search_provider_install_state_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698