// Copyright (c) 2010 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. #import #include "base/cocoa_protocols_mac.h" #include "base/scoped_ptr.h" #include "chrome/browser/geolocation/geolocation_content_settings_map.h" class GeolocationContentSettingsTableModel; class GeolocationObserverBridge; // Controller for the geolocation exception dialog. @interface GeolocationExceptionsWindowController : NSWindowController { @private IBOutlet NSTableView* tableView_; IBOutlet NSButton* removeButton_; IBOutlet NSButton* removeAllButton_; GeolocationContentSettingsMap* settingsMap_; // weak scoped_ptr model_; scoped_ptr tableObserver_; } // Shows or makes frontmost the geolocation exceptions window. // Changes made by the user in the window are persisted in |settingsMap|. + (id)showWindowWithSettingsMap:(GeolocationContentSettingsMap*)settingsMap; - (IBAction)removeException:(id)sender; - (IBAction)removeAllExceptions:(id)sender; @end