summaryrefslogtreecommitdiffstats
path: root/ui/app_list/search_box_model_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app_list/search_box_model_observer.h')
-rw-r--r--ui/app_list/search_box_model_observer.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ui/app_list/search_box_model_observer.h b/ui/app_list/search_box_model_observer.h
new file mode 100644
index 0000000..0393ade
--- /dev/null
+++ b/ui/app_list/search_box_model_observer.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_APP_LIST_SEARCH_BOX_MODEL_OBSERVER_H_
+#define UI_APP_LIST_SEARCH_BOX_MODEL_OBSERVER_H_
+#pragma once
+
+#include "ui/app_list/app_list_export.h"
+
+namespace app_list {
+
+class APP_LIST_EXPORT SearchBoxModelObserver {
+ public:
+ // Invoked when icon is changed.
+ virtual void IconChanged() = 0;
+
+ // Invoked when hint text is changed.
+ virtual void HintTextChanged() = 0;
+
+ // Invoked when selection model is changed.
+ virtual void SelectionModelChanged() = 0;
+
+ // Invoked when text is changed.
+ virtual void TextChanged() = 0;
+
+ protected:
+ virtual ~SearchBoxModelObserver() {}
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_SEARCH_BOX_MODEL_OBSERVER_H_