diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 21:15:36 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 21:15:36 +0000 |
commit | df18b5cf26cb1b38dc6a82c4647c1e90c40aea3c (patch) | |
tree | ecbe0971a69269b2faae698901bdc0fb39422754 /chrome/browser/cocoa/bookmark_name_folder_controller.h | |
parent | 3c55c1579d19a44743d88a6927671ded883b6048 (diff) | |
download | chromium_src-df18b5cf26cb1b38dc6a82c4647c1e90c40aea3c.zip chromium_src-df18b5cf26cb1b38dc6a82c4647c1e90c40aea3c.tar.gz chromium_src-df18b5cf26cb1b38dc6a82c4647c1e90c40aea3c.tar.bz2 |
Ensure OK is only enabled when there is text in the text field for folders and items (whitespace is ok).
BUG=19558
TEST=per bug, test existing folders and new folders alike.
Review URL: http://codereview.chromium.org/292046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_name_folder_controller.h')
-rw-r--r-- | chrome/browser/cocoa/bookmark_name_folder_controller.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_name_folder_controller.h b/chrome/browser/cocoa/bookmark_name_folder_controller.h index 764a04a..0da2b10 100644 --- a/chrome/browser/cocoa/bookmark_name_folder_controller.h +++ b/chrome/browser/cocoa/bookmark_name_folder_controller.h @@ -17,6 +17,7 @@ @interface BookmarkNameFolderController : NSWindowController { @private IBOutlet NSTextField* nameField_; + IBOutlet NSButton* okButton_; NSWindow* parentWindow_; // weak Profile* profile_; // weak @@ -33,6 +34,7 @@ @interface BookmarkNameFolderController(TestingAPI) - (void)setFolderName:(NSString*)name; +- (NSButton*)okButton; @end #endif /* CHROME_BROWSER_COCOA_BOOKMARK_NAME_FOLDER_CONTROLLER_H_ */ |