Commit 1d8b06e4 authored by Kurt Horimoto's avatar Kurt Horimoto Committed by Commit Bot

[iOS] Move ReadingListUIDistillationStatus to a separate file.

This is used for both the collection view and table view implementaitons
of the Reading List UI, so needs to be moved to a shared location.

Bug: 805209
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ia01403e6d318b4ea331ed85ba622c4ce8ce041cf
Reviewed-on: https://chromium-review.googlesource.com/1102119Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570126}
parent a7200ca4
...@@ -74,6 +74,7 @@ source_set("reading_list_ui") { ...@@ -74,6 +74,7 @@ source_set("reading_list_ui") {
"reading_list_toolbar.mm", "reading_list_toolbar.mm",
"reading_list_toolbar_button.h", "reading_list_toolbar_button.h",
"reading_list_toolbar_button.mm", "reading_list_toolbar_button.mm",
"reading_list_ui_distillation_status.h",
"reading_list_view_controller.h", "reading_list_view_controller.h",
"reading_list_view_controller.mm", "reading_list_view_controller.mm",
"text_badge_view.h", "text_badge_view.h",
......
...@@ -5,16 +5,11 @@ ...@@ -5,16 +5,11 @@
#ifndef IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_COLLECTION_VIEW_CELL_H_ #ifndef IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_COLLECTION_VIEW_CELL_H_
#define IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_COLLECTION_VIEW_CELL_H_ #define IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_COLLECTION_VIEW_CELL_H_
#import "ios/chrome/browser/ui/reading_list/reading_list_ui_distillation_status.h"
#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h" #import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
@class FaviconViewNew; @class FaviconViewNew;
typedef NS_ENUM(NSInteger, ReadingListUIDistillationStatus) {
ReadingListUIDistillationStatusPending,
ReadingListUIDistillationStatusSuccess,
ReadingListUIDistillationStatusFailure
};
// Cell for ReadingListCollectionViewItem. // Cell for ReadingListCollectionViewItem.
@interface ReadingListCell : MDCCollectionViewCell @interface ReadingListCell : MDCCollectionViewCell
......
// Copyright 2018 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 IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_UI_DISTILLATION_STATUS_H_
#define IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_UI_DISTILLATION_STATUS_H_
#import <Foundation/Foundation.h>
// Enum describing the distillation state for reading list UI.
typedef NS_ENUM(NSInteger, ReadingListUIDistillationStatus) {
ReadingListUIDistillationStatusPending,
ReadingListUIDistillationStatusSuccess,
ReadingListUIDistillationStatusFailure
};
#endif // IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_UI_DISTILLATION_STATUS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment