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

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

Issue 229163004: [Mac] Move profile related UI from cocoa/browser to cocoa/profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops forgot a comment Created 6 years, 8 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/profile_signin_confirmation_dialog_cocoa.h
diff --git a/chrome/browser/ui/cocoa/profile_signin_confirmation_dialog_cocoa.h b/chrome/browser/ui/cocoa/profile_signin_confirmation_dialog_cocoa.h
deleted file mode 100644
index 227840e5ca3f61cf279e3a9abd3b3108a5776a49..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/profile_signin_confirmation_dialog_cocoa.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_PROFILE_SIGNIN_CONFIRMATION_DIALOG_COCOA_
-#define CHROME_BROWSER_UI_COCOA_PROFILE_SIGNIN_CONFIRMATION_DIALOG_COCOA_
-
-#import <Cocoa/Cocoa.h>
-
-#include <string>
-
-#include "base/callback.h"
-#include "base/compiler_specific.h"
-#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
-#include "chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h"
-
-class Browser;
-class Profile;
-
-namespace content {
-class WebContents;
-}
-
-namespace ui {
-class ProfileSigninConfirmationDelegate;
-}
-
-// A constrained dialog that confirms Chrome sign-in for enterprise users.
-class ProfileSigninConfirmationDialogCocoa : ConstrainedWindowMacDelegate {
- public:
- // Creates and shows the dialog, which owns itself.
- ProfileSigninConfirmationDialogCocoa(
- Browser* browser,
- content::WebContents* web_contents,
- Profile* profile,
- const std::string& username,
- ui::ProfileSigninConfirmationDelegate* delegate,
- bool offer_profile_creation);
- virtual ~ProfileSigninConfirmationDialogCocoa();
-
- // Closes the dialog, which deletes itself.
- void Close();
-
- private:
- // ConstrainedWindowMacDelegate:
- virtual void OnConstrainedWindowClosed(ConstrainedWindowMac* window) OVERRIDE;
-
- // Controller for the dialog view.
- base::scoped_nsobject<ProfileSigninConfirmationViewController> controller_;
-
- // The constrained window that contains the dialog view.
- scoped_ptr<ConstrainedWindowMac> window_;
-
- DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialogCocoa);
-};
-
-#endif // CHROME_BROWSER_UI_COCOA_PROFILE_SIGNIN_CONFIRMATION_DIALOG_COCOA_

Powered by Google App Engine
This is Rietveld 408576698