Chromium Code Reviews| 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_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 91 // from BugReportUtil::BugType. | 91 // from BugReportUtil::BugType. |
| 92 - (int)bugTypeFromIndex; | 92 - (int)bugTypeFromIndex; |
| 93 | 93 |
| 94 // Force the description text field to allow "return" to go to the next line | 94 // Force the description text field to allow "return" to go to the next line |
| 95 // within the description field. Without this delegate method, "return" falls | 95 // within the description field. Without this delegate method, "return" falls |
| 96 // back to the "Send Report" action, because this button has been bound to | 96 // back to the "Send Report" action, because this button has been bound to |
| 97 // the return key in IB. | 97 // the return key in IB. |
| 98 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView | 98 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView |
| 99 doCommandBySelector:(SEL)commandSelector; | 99 doCommandBySelector:(SEL)commandSelector; |
| 100 | 100 |
| 101 // Properties for bindings. | 101 // Properties for bindings. |
|
Robert Sesek
2011/01/24 18:03:57
Move this to be right after the ivar block.
Nico
2011/01/24 18:13:25
Done.
| |
| 102 @property (nonatomic, copy) NSString* bugDescription; | 102 @property(nonatomic, copy) NSString* bugDescription; |
| 103 @property (nonatomic) NSUInteger bugTypeIndex; | 103 @property(nonatomic) NSUInteger bugTypeIndex; |
| 104 @property (nonatomic, copy) NSString* pageTitle; | 104 @property(nonatomic, copy) NSString* pageTitle; |
| 105 @property (nonatomic, copy) NSString* pageURL; | 105 @property(nonatomic, copy) NSString* pageURL; |
| 106 @property (nonatomic) BOOL sendScreenshot; | 106 @property(nonatomic) BOOL sendScreenshot; |
| 107 @property (nonatomic) BOOL disableScreenshotCheckbox; | 107 @property(nonatomic) BOOL disableScreenshotCheckbox; |
| 108 @property (nonatomic, readonly) NSArray* bugTypeList; | 108 @property(nonatomic, readonly) NSArray* bugTypeList; |
| 109 | 109 |
| 110 @end | 110 @end |
| 111 | 111 |
| 112 #endif // CHROME_BROWSER_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ | 112 #endif // CHROME_BROWSER_UI_COCOA_BUG_REPORT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |