Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: chrome/browser/ui/gtk/website_settings/permission_selector_observer.h

Issue 10827374: (GTK only) Add icons to the "Permissions" tab of the Website Settings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add explicit PermissionSelector dtor. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_PERMISSION_SELECTOR_OBSERVER_H_
6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_PERMISSION_SELECTOR_OBSERVER_H_
7
8 class PermissionSelector;
9
10 class PermissionSelectorObserver {
11 public:
12 // This method is called when a permission setting is changed by a
13 // |selector|.
14 virtual void OnPermissionChanged(PermissionSelector* selector) = 0;
15
16 // GtkComboBox grabs the keyboard and pointer when it displays its popup,
17 // which steals the grabs that BubbleGtk had installed. When the combobox
18 // popup is hidden, we notify BubbleGtk so it can try to reacquire the grabs
19 // (otherwise, GTK won't activate our widgets when the user clicks in them).
20 // OnComboboxShown is called when a combobox popup is closed.
21 virtual void OnComboboxShown() = 0;
22
23 protected:
24 virtual ~PermissionSelectorObserver() {}
25 };
26
27 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_PERMISSION_SELECTOR_OBSERVER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698