summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents_delegate.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/tab_contents/tab_contents_delegate.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index dca24b4..63ef115 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -7,6 +7,7 @@
#pragma once
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "chrome/browser/automation/automation_resource_routing_delegate.h"
@@ -104,7 +105,7 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
virtual TabContents* GetConstrainingContents(TabContents* source);
// Returns true if constrained windows should be focused. Default is true.
- virtual bool ShouldFocusConstrainedWindow(TabContents* source);
+ virtual bool ShouldFocusConstrainedWindow();
// Invoked prior to the TabContents showing a constrained window.
virtual void WillShowConstrainedWindow(TabContents* source);
@@ -305,7 +306,11 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
virtual void UpdatePreferredSize(const gfx::Size& pref_size);
// Notifies the delegate that the page has a suggest result.
- virtual void OnSetSuggestResult(int32 page_id, const std::string& result);
+ virtual void OnSetSuggestions(int32 page_id,
+ const std::vector<std::string>& result);
+
+ // Notifies the delegate whether the page supports instant-style interaction.
+ virtual void OnInstantSupportDetermined(int32 page_id, bool result);
// Notifies the delegate that the content restrictions for this tab has
// changed.