| Index: chrome/browser/instant/instant_controller.cc
|
| diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
|
| index 4e02f28ce2d3ffa013b987078e4d858274733e82..78e95b0f21550f22ed03cd085f17955367543474 100644
|
| --- a/chrome/browser/instant/instant_controller.cc
|
| +++ b/chrome/browser/instant/instant_controller.cc
|
| @@ -337,6 +337,11 @@ bool InstantController::IsShowingInstant() {
|
| loader_manager_->current_loader()->is_showing_instant();
|
| }
|
|
|
| +string16 InstantController::GetCompleteSuggestedText() {
|
| + return loader_manager_.get() && loader_manager_->active_loader() ?
|
| + loader_manager_->active_loader()->complete_suggested_text() : string16();
|
| +}
|
| +
|
| bool InstantController::MightSupportInstant() {
|
| return loader_manager_.get() && loader_manager_->active_loader() &&
|
| loader_manager_->active_loader()->is_showing_instant();
|
|
|