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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_web_dialog.h

Issue 2455513003: chromeos: Make enterprise help dialog work in mash, part 1 (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 // Delegate class to get notifications from the dialog. 27 // Delegate class to get notifications from the dialog.
28 class Delegate { 28 class Delegate {
29 public: 29 public:
30 // Called when dialog has been closed. 30 // Called when dialog has been closed.
31 virtual void OnDialogClosed(); 31 virtual void OnDialogClosed();
32 32
33 protected: 33 protected:
34 virtual ~Delegate() {} 34 virtual ~Delegate() {}
35 }; 35 };
36 36
37 // If |parent_window| is null then the dialog is placed in the modal dialog
38 // container on the primary display.
37 LoginWebDialog(content::BrowserContext* browser_context, 39 LoginWebDialog(content::BrowserContext* browser_context,
38 Delegate* delegate, 40 Delegate* delegate,
39 gfx::NativeWindow parent_window, 41 gfx::NativeWindow parent_window,
40 const base::string16& title, 42 const base::string16& title,
41 const GURL& url); 43 const GURL& url);
42 ~LoginWebDialog() override; 44 ~LoginWebDialog() override;
43 45
44 void Show(); 46 void Show();
45 47
46 // Overrides default width/height for dialog. 48 // Overrides default width/height for dialog.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Dialog display size. 89 // Dialog display size.
88 int width_; 90 int width_;
89 int height_; 91 int height_;
90 92
91 DISALLOW_COPY_AND_ASSIGN(LoginWebDialog); 93 DISALLOW_COPY_AND_ASSIGN(LoginWebDialog);
92 }; 94 };
93 95
94 } // namespace chromeos 96 } // namespace chromeos
95 97
96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_WEB_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698