| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 - (int)bugTypeFromIndex; | 91 - (int)bugTypeFromIndex; |
| 92 | 92 |
| 93 // Force the description text field to allow "return" to go to the next line | 93 // Force the description text field to allow "return" to go to the next line |
| 94 // within the description field. Without this delegate method, "return" falls | 94 // within the description field. Without this delegate method, "return" falls |
| 95 // back to the "Send Report" action, because this button has been bound to | 95 // back to the "Send Report" action, because this button has been bound to |
| 96 // the return key in IB. | 96 // the return key in IB. |
| 97 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView | 97 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView |
| 98 doCommandBySelector:(SEL)commandSelector; | 98 doCommandBySelector:(SEL)commandSelector; |
| 99 | 99 |
| 100 // Properties for bindings. | 100 // Properties for bindings. |
| 101 @property (copy, nonatomic) NSString* bugDescription; | 101 @property (nonatomic, copy) NSString* bugDescription; |
| 102 @property NSUInteger bugTypeIndex; | 102 @property (nonatomic) NSUInteger bugTypeIndex; |
| 103 @property (copy, nonatomic) NSString* pageTitle; | 103 @property (nonatomic, copy) NSString* pageTitle; |
| 104 @property (copy, nonatomic) NSString* pageURL; | 104 @property (nonatomic, copy) NSString* pageURL; |
| 105 @property BOOL sendScreenshot; | 105 @property (nonatomic) BOOL sendScreenshot; |
| 106 @property BOOL disableScreenshotCheckbox; | 106 @property (nonatomic) BOOL disableScreenshotCheckbox; |
| 107 @property (readonly, nonatomic) NSArray* bugTypeList; | 107 @property (nonatomic, readonly) NSArray* bugTypeList; |
| 108 | 108 |
| 109 @end | 109 @end |
| 110 | 110 |
| 111 #endif // CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 111 #endif // CHROME_BROWSER_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| 112 | |
| OLD | NEW |