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

Side by Side Diff: chrome/browser/ui/cocoa/simple_content_exceptions_window_controller.h

Issue 6294008: [Mac] Organize some files into chrome/browser/ui/cocoa/content_settings/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2010 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 #import <Cocoa/Cocoa.h>
6
7 #import "base/mac/cocoa_protocols.h"
8 #include "base/scoped_ptr.h"
9 #include "chrome/browser/remove_rows_table_model.h"
10 #import "chrome/browser/ui/cocoa/table_model_array_controller.h"
11
12 class RemoveRowsObserverBridge;
13
14 // Controller for the geolocation exception dialog.
15 @interface SimpleContentExceptionsWindowController : NSWindowController
16 <NSWindowDelegate> {
17 @private
18 IBOutlet NSTableView* tableView_;
19 IBOutlet NSButton* removeButton_;
20 IBOutlet NSButton* removeAllButton_;
21 IBOutlet NSButton* doneButton_;
22 IBOutlet TableModelArrayController* arrayController_;
23
24 scoped_ptr<RemoveRowsTableModel> model_;
25 }
26
27 // Shows or makes frontmost the exceptions window.
28 // Changes made by the user in the window are persisted in |model|.
29 // Takes ownership of |model|.
30 + (id)controllerWithTableModel:(RemoveRowsTableModel*)model;
31
32 // Sets the minimum width of the sheet and resizes it if necessary.
33 - (void)setMinWidth:(CGFloat)minWidth;
34
35 - (void)attachSheetTo:(NSWindow*)window;
36 - (IBAction)closeSheet:(id)sender;
37
38 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698