blob: f834a10263ee40b76f647507218465c7cf06db1b [file]
// Copyright 2016 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 COMPONENTS_SUBRESOURCE_FILTER_CORE_BROWSER_SUBRESOURCE_FILTER_CLIENT_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CORE_BROWSER_SUBRESOURCE_FILTER_CLIENT_H_
namespace subresource_filter {
class SubresourceFilterClient {
public:
virtual ~SubresourceFilterClient() = default;
// Changes the visibility of the prompt that informs the user that potentially
// deceptive content has been blocked on the page according to the passed
// |visibility| parameter. When |visibility| is set to true, an icon on the
// right side of the omnibox is displayed. If the user clicks on the icon then
// a bubble is shown that explains the feature and alalows the user to turn it
// off.
virtual void ToggleNotificationVisibility(bool visibility) = 0;
};
} // namespace subresource_filter
#endif // COMPONENTS_SUBRESOURCE_FILTER_CORE_BROWSER_SUBRESOURCE_FILTER_CLIENT_H_