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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.cc

Issue 10535155: Hook the activeTab permission up to the omnibox, page action, and context menu APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile Created 8 years, 6 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 | « no previous file | chrome/browser/extensions/active_tab_permission_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit.cc
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index cfb25cd7fef2d5d5624b20e4a087a6a5914c8591..4a70a1371207a35b6a15222dfcb95d6b0be1e257 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -569,7 +569,8 @@ void AutocompleteEditModel::OpenMatch(const AutocompleteMatch& match,
// Strip the keyword + leading space off the input.
size_t prefix_length = match.keyword.length() + 1;
- extensions::ExtensionOmniboxEventRouter::OnInputEntered(profile_,
+ extensions::ExtensionOmniboxEventRouter::OnInputEntered(
+ controller_->GetTabContents(),
template_url->GetExtensionId(),
UTF16ToUTF8(match.fill_into_edit.substr(prefix_length)));
view_->RevertAll();
« no previous file with comments | « no previous file | chrome/browser/extensions/active_tab_permission_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698