Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: chrome/browser/ui/cocoa/html_dialog_window_controller.mm

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/html_dialog_window_controller.h" 5 #import "chrome/browser/ui/cocoa/html_dialog_window_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #import "chrome/browser/ui/browser_dialogs.h" 11 #import "chrome/browser/ui/browser_dialogs.h"
12 #import "chrome/browser/ui/cocoa/browser_command_executor.h" 12 #import "chrome/browser/ui/cocoa/browser_command_executor.h"
13 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 13 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
14 #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h" 14 #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h"
15 #include "chrome/browser/ui/webui/html_dialog_ui.h" 15 #include "chrome/browser/ui/webui/html_dialog_ui.h"
16 #include "chrome/common/native_web_keyboard_event.h"
17 #include "content/browser/tab_contents/tab_contents.h" 16 #include "content/browser/tab_contents/tab_contents.h"
17 #include "content/common/native_web_keyboard_event.h"
18 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
19 #include "ui/gfx/size.h" 19 #include "ui/gfx/size.h"
20 20
21 // Thin bridge that routes notifications to 21 // Thin bridge that routes notifications to
22 // HtmlDialogWindowController's member variables. 22 // HtmlDialogWindowController's member variables.
23 class HtmlDialogWindowDelegateBridge : public HtmlDialogUIDelegate, 23 class HtmlDialogWindowDelegateBridge : public HtmlDialogUIDelegate,
24 public HtmlDialogTabContentsDelegate { 24 public HtmlDialogTabContentsDelegate {
25 public: 25 public:
26 // All parameters must be non-NULL/non-nil. 26 // All parameters must be non-NULL/non-nil.
27 HtmlDialogWindowDelegateBridge(HtmlDialogWindowController* controller, 27 HtmlDialogWindowDelegateBridge(HtmlDialogWindowController* controller,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // TODO(akalin): Figure out why implementing (void)cancel:(id)sender 285 // TODO(akalin): Figure out why implementing (void)cancel:(id)sender
286 // to do the above doesn't work. 286 // to do the above doesn't work.
287 } 287 }
288 288
289 - (void)windowWillClose:(NSNotification*)notification { 289 - (void)windowWillClose:(NSNotification*)notification {
290 delegate_->WindowControllerClosed(); 290 delegate_->WindowControllerClosed();
291 [self autorelease]; 291 [self autorelease];
292 } 292 }
293 293
294 @end 294 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698