OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/cocoa/bug_report_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/bug_report_window_controller.h" |
6 | 6 |
7 #include "base/mac/mac_util.h" | 7 #include "base/mac/mac_util.h" |
8 #include "base/sys_string_conversions.h" | 8 #include "base/sys_string_conversions.h" |
9 #include "chrome/browser/bug_report_util.h" | 9 #include "chrome/browser/bug_report_util.h" |
10 #include "chrome/browser/tab_contents/tab_contents.h" | |
11 #include "chrome/browser/tab_contents/tab_contents_view.h" | |
12 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" | 10 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" |
| 11 #include "content/browser/tab_contents/tab_contents.h" |
| 12 #include "content/browser/tab_contents/tab_contents_view.h" |
13 #include "grit/chromium_strings.h" | 13 #include "grit/chromium_strings.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 15 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
16 #include "ui/base/l10n/l10n_util_mac.h" | 16 #include "ui/base/l10n/l10n_util_mac.h" |
17 | 17 |
18 @implementation BugReportWindowController | 18 @implementation BugReportWindowController |
19 | 19 |
20 @synthesize bugDescription = bugDescription_; | 20 @synthesize bugDescription = bugDescription_; |
21 @synthesize bugTypeIndex = bugTypeIndex_; | 21 @synthesize bugTypeIndex = bugTypeIndex_; |
22 @synthesize pageURL = pageURL_; | 22 @synthesize pageURL = pageURL_; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 + (NSSet*)keyPathsForValuesAffectingValueForKey:(NSString*)key { | 223 + (NSSet*)keyPathsForValuesAffectingValueForKey:(NSString*)key { |
224 NSSet* paths = [super keyPathsForValuesAffectingValueForKey:key]; | 224 NSSet* paths = [super keyPathsForValuesAffectingValueForKey:key]; |
225 if ([key isEqualToString:@"isPhishingReport"]) { | 225 if ([key isEqualToString:@"isPhishingReport"]) { |
226 paths = [paths setByAddingObject:@"bugTypeIndex"]; | 226 paths = [paths setByAddingObject:@"bugTypeIndex"]; |
227 } | 227 } |
228 return paths; | 228 return paths; |
229 } | 229 } |
230 | 230 |
231 @end | 231 @end |
232 | 232 |
OLD | NEW |