Index: ui/app_list/views/search_box_view.h |
diff --git a/ui/app_list/views/search_box_view.h b/ui/app_list/views/search_box_view.h |
index f246d7d73537f74409c67a05bb2bb5f8c85cded5..d51a7c2d41a015c9250f979241c12747ecbb4a13 100644 |
--- a/ui/app_list/views/search_box_view.h |
+++ b/ui/app_list/views/search_box_view.h |
@@ -48,6 +48,10 @@ class APP_LIST_EXPORT SearchBoxView : public views::View, |
void ClearSearch(); |
void InvalidateMenu(); |
+ // Returns the bounds to use for the view (including the shadow) given the |
+ // desired bounds of the search box contents. |
+ gfx::Rect GetViewBoundsForSearchBoxContentsBounds(const gfx::Rect& rect); |
+ |
views::ImageButton* back_button() { return back_button_; } |
views::Textfield* search_box() { return search_box_; } |
@@ -96,6 +100,7 @@ class APP_LIST_EXPORT SearchBoxView : public views::View, |
scoped_ptr<AppListMenuViews> menu_; |
+ views::View* content_container_; // Owned by views hierarchy. |
views::ImageView* icon_view_; // Owned by views hierarchy. |
views::ImageButton* back_button_; // Owned by views hierarchy. |
views::ImageButton* speech_button_; // Owned by views hierarchy. |