diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 21:14:44 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 21:14:44 +0000 |
commit | 992edd121c5c1ccb7e4fe94cccd35a9500079637 (patch) | |
tree | 619d934cacda11c0d196d0391a541c4eb54d81c2 /chrome/browser/cocoa/hung_renderer_controller.h | |
parent | 494656dcbf45201c79d1a9387f3e1ecfe0b6d2ad (diff) | |
download | chromium_src-992edd121c5c1ccb7e4fe94cccd35a9500079637.zip chromium_src-992edd121c5c1ccb7e4fe94cccd35a9500079637.tar.gz chromium_src-992edd121c5c1ccb7e4fe94cccd35a9500079637.tar.bz2 |
Hung Renderer dialog should dismiss with "Wait" for Enter or Esc
HungRendererDialog.xib: made the "Wait" button's use Return as its normal key
equivalent; changed the "Wait" button's class to MultiKeyEquivalentButton.
BUG=21074
TEST=about:hang. Return, Enter, Esc, and Command-. (period) should all dismiss
the Hung Renderer dialog with "Wait".
Review URL: http://codereview.chromium.org/266026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/hung_renderer_controller.h')
-rw-r--r-- | chrome/browser/cocoa/hung_renderer_controller.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/hung_renderer_controller.h b/chrome/browser/cocoa/hung_renderer_controller.h index 593cf25..9b890c7 100644 --- a/chrome/browser/cocoa/hung_renderer_controller.h +++ b/chrome/browser/cocoa/hung_renderer_controller.h @@ -23,9 +23,12 @@ #import "base/cocoa_protocols_mac.h" +@class MultiKeyEquivalentButton; +class TabContents; + @interface HungRendererController : NSWindowController<NSTableViewDataSource> { @private - IBOutlet NSButton* waitButton_; + IBOutlet MultiKeyEquivalentButton* waitButton_; IBOutlet NSButton* killButton_; IBOutlet NSTableView* tableView_; IBOutlet NSImageView* imageView_; @@ -63,7 +66,7 @@ @interface HungRendererController (JustForTesting) - (NSButton*)killButton; -- (NSButton*)waitButton; +- (MultiKeyEquivalentButton*)waitButton; @end #endif // CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_ |