OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" | 5 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" |
6 | 6 |
7 #include "app/l10n_util_mac.h" | 7 #include "app/l10n_util_mac.h" |
8 #include "app/table_model_observer.h" | 8 #include "app/table_model_observer.h" |
| 9 #include "base/logging.h" |
9 #import "base/mac_util.h" | 10 #import "base/mac_util.h" |
10 #import "base/scoped_nsobject.h" | 11 #import "base/scoped_nsobject.h" |
11 #include "base/sys_string_conversions.h" | 12 #include "base/sys_string_conversions.h" |
12 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
13 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 14 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
14 | 15 |
15 @interface SimpleContentExceptionsWindowController (Private) | 16 @interface SimpleContentExceptionsWindowController (Private) |
16 - (id)initWithTableModel:(RemoveRowsTableModel*)model; | 17 - (id)initWithTableModel:(RemoveRowsTableModel*)model; |
17 @end | 18 @end |
18 | 19 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 [sheet close]; | 116 [sheet close]; |
116 [sheet orderOut:self]; | 117 [sheet orderOut:self]; |
117 } | 118 } |
118 | 119 |
119 - (IBAction)closeSheet:(id)sender { | 120 - (IBAction)closeSheet:(id)sender { |
120 [NSApp endSheet:[self window]]; | 121 [NSApp endSheet:[self window]]; |
121 } | 122 } |
122 | 123 |
123 | 124 |
124 @end | 125 @end |
OLD | NEW |