OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_SEPARATOR_H_ |
| 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_SEPARATOR_H_ |
| 7 |
| 8 #include "ui/app_list/app_list_model.h" |
| 9 #include "ui/views/controls/separator.h" |
| 10 |
| 11 namespace app_list { |
| 12 |
| 13 // SearchResultSeparator separates SearchResult of different result types. |
| 14 class APP_LIST_EXPORT SearchResultSeparator : public views::Separator { |
| 15 public: |
| 16 SearchResultSeparator(); |
| 17 ~SearchResultSeparator() override; |
| 18 |
| 19 // Overridden from View: |
| 20 void OnPaint(gfx::Canvas* canvas) override; |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(SearchResultSeparator); |
| 24 }; |
| 25 |
| 26 } // namespace app_list |
| 27 |
| 28 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_SEPARATOR_H_ |
OLD | NEW |