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

Unified Diff: chrome/browser/ui/cocoa/web_dialog_window_controller.h

Issue 10448066: Move the web dialogs code to src/ui/web_dialogs from src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/web_dialog_window_controller.h
diff --git a/chrome/browser/ui/cocoa/web_dialog_window_controller.h b/chrome/browser/ui/cocoa/web_dialog_window_controller.h
index 92292c58e6e068c0c102be163e37448304f24f3c..8a33f8e6f57cf6f783e7f06a50128a6d3b46098e 100644
--- a/chrome/browser/ui/cocoa/web_dialog_window_controller.h
+++ b/chrome/browser/ui/cocoa/web_dialog_window_controller.h
@@ -11,7 +11,7 @@
#include "base/basictypes.h"
#import "base/mac/cocoa_protocols.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/webui/web_dialog_ui.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
class Browser;
class WebDialogWindowDelegateBridge;
@@ -35,7 +35,7 @@ class TabContentsWrapper;
//
// Make sure to use the returned window only when you know it is safe
// to do so, i.e. before OnDialogClosed() is called on the delegate.
-+ (NSWindow*)showWebDialog:(WebDialogDelegate*)delegate
++ (NSWindow*)showWebDialog:(ui::WebDialogDelegate*)delegate
profile:(Profile*)profile
browser:(Browser*)browser;
@@ -45,7 +45,7 @@ class TabContentsWrapper;
// This is the designated initializer. However, this is exposed only
// for testing; use showWebDialog instead.
-- (id)initWithDelegate:(WebDialogDelegate*)delegate
+- (id)initWithDelegate:(ui::WebDialogDelegate*)delegate
profile:(Profile*)profile
browser:(Browser*)browser;
@@ -57,4 +57,3 @@ class TabContentsWrapper;
@end
#endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_
-

Powered by Google App Engine
This is Rietveld 408576698