Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / website_settings / permission_selector_view_observer.h
blobcd3612fee1865bf95cc184eebd579f8c9b1c9e74
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERVER_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERVER_H_
8 #include "chrome/browser/ui/website_settings/website_settings_ui.h"
10 class PermissionSelectorView;
12 class PermissionSelectorViewObserver {
13 public:
14 // This method is called whenever the permission setting is changed.
15 virtual void OnPermissionChanged(
16 const WebsiteSettingsUI::PermissionInfo& permission) = 0;
18 protected:
19 virtual ~PermissionSelectorViewObserver() {}
22 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERVER_H_