| Index: chrome/browser/ui/cocoa/web_dialog_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/web_dialog_window_controller.mm b/chrome/browser/ui/cocoa/web_dialog_window_controller.mm
|
| index 6e3e2a9a30295a95a212d339395568abe2d38a1f..1180f952ab0543e3b59582b5eadf1df36eebe467 100644
|
| --- a/chrome/browser/ui/cocoa/web_dialog_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/web_dialog_window_controller.mm
|
| @@ -8,7 +8,6 @@
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #import "chrome/browser/ui/browser_dialogs.h"
|
| -#import "chrome/browser/ui/cocoa/browser_command_executor.h"
|
| #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
|
| #include "chrome/browser/ui/webui/chrome_web_contents_handler.h"
|
| #include "content/public/browser/native_web_keyboard_event.h"
|
| @@ -85,15 +84,6 @@ private:
|
| DISALLOW_COPY_AND_ASSIGN(WebDialogWindowDelegateBridge);
|
| };
|
|
|
| -// ChromeEventProcessingWindow expects its controller to implement the
|
| -// BrowserCommandExecutor protocol.
|
| -@interface WebDialogWindowController (InternalAPI) <BrowserCommandExecutor>
|
| -
|
| -// BrowserCommandExecutor methods.
|
| -- (void)executeCommand:(int)command;
|
| -
|
| -@end
|
| -
|
| namespace chrome {
|
|
|
| gfx::NativeWindow ShowWebDialog(gfx::NativeView parent,
|
| @@ -281,14 +271,6 @@ void WebDialogWindowDelegateBridge::HandleKeyboardEvent(
|
| [event_window redispatchKeyEvent:event.os_event];
|
| }
|
|
|
| -@implementation WebDialogWindowController (InternalAPI)
|
| -
|
| -// This gets called whenever a chrome-specific keyboard shortcut is performed
|
| -// in the Web dialog window. We simply swallow all those events.
|
| -- (void)executeCommand:(int)command {}
|
| -
|
| -@end
|
| -
|
| @implementation WebDialogWindowController
|
|
|
| // NOTE(akalin): We'll probably have to add the parentWindow parameter back
|
|
|