Index: chrome/browser/cocoa/simple_content_exceptions_window_controller.h |
diff --git a/chrome/browser/cocoa/simple_content_exceptions_window_controller.h b/chrome/browser/cocoa/simple_content_exceptions_window_controller.h |
index aa1cfcf800552fac79fb63e42fe9b0682df1f4d9..0e29f68015378f765842854178caf3c2dc325a23 100644 |
--- a/chrome/browser/cocoa/simple_content_exceptions_window_controller.h |
+++ b/chrome/browser/cocoa/simple_content_exceptions_window_controller.h |
@@ -6,26 +6,25 @@ |
#include "base/cocoa_protocols_mac.h" |
#include "base/scoped_ptr.h" |
+#import "chrome/browser/cocoa/table_model_array_controller.h" |
#include "chrome/browser/remove_rows_table_model.h" |
class RemoveRowsObserverBridge; |
// Controller for the geolocation exception dialog. |
@interface SimpleContentExceptionsWindowController : NSWindowController |
- <NSWindowDelegate, |
- NSTableViewDataSource, |
- NSTableViewDelegate> { |
+ <NSWindowDelegate> { |
@private |
IBOutlet NSTableView* tableView_; |
IBOutlet NSButton* removeButton_; |
IBOutlet NSButton* removeAllButton_; |
IBOutlet NSButton* doneButton_; |
+ IBOutlet TableModelArrayController* arrayController_; |
scoped_ptr<RemoveRowsTableModel> model_; |
- scoped_ptr<RemoveRowsObserverBridge> tableObserver_; |
} |
-// Shows or makes frontmost the geolocation exceptions window. |
+// Shows or makes frontmost the exceptions window. |
// Changes made by the user in the window are persisted in |model|. |
// Takes ownership of |model|. |
+ (id)controllerWithTableModel:(RemoveRowsTableModel*)model; |
@@ -36,7 +35,4 @@ class RemoveRowsObserverBridge; |
- (void)attachSheetTo:(NSWindow*)window; |
- (IBAction)closeSheet:(id)sender; |
-- (IBAction)removeRow:(id)sender; |
-- (IBAction)removeAll:(id)sender; |
- |
@end |