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

Unified Diff: chrome/browser/instant/instant_loader_delegate.h

Issue 6685002: Wires up ability for page to specify instant auto complete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test and stray char Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_loader_delegate.h
diff --git a/chrome/browser/instant/instant_loader_delegate.h b/chrome/browser/instant/instant_loader_delegate.h
index bfe151838a40f11e21c8b771c4dd21e9e44679d5..6e3232a23a4172ddc005685c1bb0a1bc82f9c611 100644
--- a/chrome/browser/instant/instant_loader_delegate.h
+++ b/chrome/browser/instant/instant_loader_delegate.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/string16.h"
+#include "chrome/common/instant_types.h"
class GURL;
@@ -23,8 +24,10 @@ class InstantLoaderDelegate {
virtual void ShowInstantLoader(InstantLoader* loader) = 0;
// Invoked when the loader has suggested text.
- virtual void SetSuggestedTextFor(InstantLoader* loader,
- const string16& text) = 0;
+ virtual void SetSuggestedTextFor(
+ InstantLoader* loader,
+ const string16& text,
+ InstantCompleteBehavior behavior) = 0;
// Returns the bounds of instant.
virtual gfx::Rect GetInstantBounds() = 0;

Powered by Google App Engine
This is Rietveld 408576698