summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/searchbox/searchbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/searchbox/searchbox.h')
-rw-r--r--chrome/renderer/searchbox/searchbox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index cd94f0c..1243318 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -61,6 +61,13 @@ class SearchBox : public content::RenderViewObserver,
// browser.
void UndoAllMostVisitedDeletions();
+ // Shows any attached bars.
+ void ShowBars();
+
+ // Hides any attached bars. When the bars are hidden, the "onbarshidden"
+ // event is fired to notify the page.
+ void HideBars();
+
const string16& query() const { return query_; }
bool verbatim() const { return verbatim_; }
size_t selection_start() const { return selection_start_; }
@@ -100,6 +107,7 @@ class SearchBox : public content::RenderViewObserver,
void OnCancel(const string16& query);
void OnPopupResize(const gfx::Rect& bounds);
void OnMarginChange(int margin, int width);
+ void OnBarsHidden();
void OnDetermineIfPageSupportsInstant();
void OnAutocompleteResults(
const std::vector<InstantAutocompleteResult>& results);