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

Unified Diff: chrome/common/instant_types.h

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove extra ; Created 8 years 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/ui/browser_instant_controller.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index aa7955f3cb1b03c2e607a280fbd4ffe4dc44c35a..e40aafdc8d873b99cb19c6b0abcddc273ed0fc80 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/string16.h"
+#include "content/public/common/page_transition_types.h"
#include "googleurl/src/gurl.h"
// Ways that the Instant suggested text is autocompleted into the omnibox.
@@ -63,6 +64,10 @@ struct InstantAutocompleteResult {
// The URL of the match, same as AutocompleteMatch::destination_url.
string16 destination_url;
+ // The transition type to use when the user opens this match. Same as
+ // AutocompleteMatch::transition.
+ content::PageTransition transition;
+
// The relevance score of this match, same as AutocompleteMatch::relevance.
int relevance;
};
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698