| Index: ui/app_list/views/search_result_separator.h
|
| diff --git a/ui/app_list/views/search_result_separator.h b/ui/app_list/views/search_result_separator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f92c01e6f77457490ef705bd2aa636406b7c25a0
|
| --- /dev/null
|
| +++ b/ui/app_list/views/search_result_separator.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2017 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_VIEWS_SEARCH_RESULT_SEPARATOR_H_
|
| +#define UI_APP_LIST_VIEWS_SEARCH_RESULT_SEPARATOR_H_
|
| +
|
| +#include "ui/app_list/app_list_model.h"
|
| +#include "ui/views/controls/separator.h"
|
| +
|
| +namespace app_list {
|
| +
|
| +// SearchResultSeparator separates SearchResult of different result types.
|
| +class APP_LIST_EXPORT SearchResultSeparator : public views::Separator {
|
| + public:
|
| + SearchResultSeparator();
|
| + ~SearchResultSeparator() override;
|
| +
|
| + // Overridden from View:
|
| + void OnPaint(gfx::Canvas* canvas) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(SearchResultSeparator);
|
| +};
|
| +
|
| +} // namespace app_list
|
| +
|
| +#endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_SEPARATOR_H_
|
|
|