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

Side by Side Diff: chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc

Issue 2721993002: Omnibox - Make Clipboard Provider Enabled via an Experimental Feature (Closed)
Patch Set: rebase Created 3 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/webui/omnibox/omnibox_page_handler.h" 5 #include "chrome/browser/ui/webui/omnibox/omnibox_page_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 static_cast<metrics::OmniboxEventProto::PageClassification>( 203 static_cast<metrics::OmniboxEventProto::PageClassification>(
204 page_classification), 204 page_classification),
205 prevent_inline_autocomplete, prefer_keyword, true, true, false, 205 prevent_inline_autocomplete, prefer_keyword, true, true, false,
206 ChromeAutocompleteSchemeClassifier(profile_)); 206 ChromeAutocompleteSchemeClassifier(profile_));
207 controller_->Start(input_); 207 controller_->Start(input_);
208 } 208 }
209 209
210 void OmniboxPageHandler::ResetController() { 210 void OmniboxPageHandler::ResetController() {
211 controller_.reset(new AutocompleteController( 211 controller_.reset(new AutocompleteController(
212 base::MakeUnique<ChromeAutocompleteProviderClient>(profile_), this, 212 base::MakeUnique<ChromeAutocompleteProviderClient>(profile_), this,
213 AutocompleteClassifier::kDefaultOmniboxProviders)); 213 AutocompleteClassifier::DefaultOmniboxProviders()));
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/test_with_browser_view.cc ('k') | chrome/browser/ui/webui/options/home_page_overlay_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698