1 // Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_ICON_CLASSIFIER_H_ 6 #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_ICON_CLASSIFIER_H_ 7 8 #include "third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.h" 9 #include "third_party/blink/renderer/platform/graphics/graphics_types.h" 10 #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" 11 12 namespace blink { 13 14 class PLATFORM_EXPORT DarkModeIconClassifier : public DarkModeImageClassifier { 15 DISALLOW_NEW(); 16 17 public: 18 DarkModeIconClassifier(); 19 ~DarkModeIconClassifier() = default; 20 21 DarkModeClassification ClassifyWithFeatures( 22 const Features& features) override; 23 }; 24 25 } // namespace blink 26 27 #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_ICON_CLASSIFIER_H_ 28