blob: ec54748f3da6a0b18a388a841f80b5d4e8c6b188 [file] [log] [blame]
// 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 ASH_APP_LIST_MODEL_SEARCH_BOX_MODEL_OBSERVER_H_
#define ASH_APP_LIST_MODEL_SEARCH_BOX_MODEL_OBSERVER_H_
#include "ash/app_list/model/app_list_model_export.h"
namespace app_list {
class APP_LIST_MODEL_EXPORT SearchBoxModelObserver {
public:
// Invoked when the some properties of the speech recognition button is
// changed.
virtual void SpeechRecognitionButtonPropChanged() = 0;
// Invoked when hint text is changed.
virtual void HintTextChanged() = 0;
// Invoked when selection model is changed.
virtual void SelectionModelChanged() = 0;
// Invoked when text or voice search flag is changed.
virtual void Update() = 0;
protected:
virtual ~SearchBoxModelObserver() {}
};
} // namespace app_list
#endif // ASH_APP_LIST_MODEL_SEARCH_BOX_MODEL_OBSERVER_H_