| 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 b141da6d1167730649be046b654a9fc7f2ff307a..359b3d20a58dcd588fc66f902352dcb41ff685df 100644
|
| --- a/ui/app_list/views/search_box_view.h
|
| +++ b/ui/app_list/views/search_box_view.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "ui/app_list/search_box_model_observer.h"
|
| #include "ui/app_list/speech_ui_model_observer.h"
|
| +#include "ui/gfx/shadow_value.h"
|
| #include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/button/menu_button_listener.h"
|
| #include "ui/views/controls/textfield/textfield_controller.h"
|
| @@ -48,6 +49,9 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
|
| void ClearSearch();
|
| void InvalidateMenu();
|
|
|
| + // Sets the shadow border of the search box.
|
| + void SetShadow(const gfx::ShadowValue& shadow);
|
| +
|
| // Returns the bounds to use for the view (including the shadow) given the
|
| // desired bounds of the search box contents.
|
| gfx::Rect GetViewBoundsForSearchBoxContentsBounds(
|
| @@ -65,6 +69,9 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
|
| bool OnMouseWheel(const ui::MouseWheelEvent& event) override;
|
| void OnEnabledChanged() override;
|
|
|
| + // Returns the shadow values for the search box at |z_height|.
|
| + static gfx::ShadowValue GetShadowForZHeight(int z_height);
|
| +
|
| private:
|
| // Updates model text and selection model with current Textfield info.
|
| void UpdateModel();
|
|
|