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

Side by Side Diff: chrome/browser/chromeos/ui/inline_login_dialog.h

Issue 1457683002: Remove Chrome OS Mirror UI. Part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/ui/inline_login_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "ui/web_dialogs/web_dialog_delegate.h"
11
12 namespace content {
13 class BrowserContext;
14 }
15
16 namespace ui {
17
18 class InlineLoginDialog : public WebDialogDelegate {
19 public:
20 static void Show(content::BrowserContext* context);
21
22 private:
23 InlineLoginDialog();
24 ~InlineLoginDialog() override;
25
26 // Overriden from WebDialogDelegate.
27 ModalType GetDialogModalType() const override;
28 base::string16 GetDialogTitle() const override;
29 GURL GetDialogContentURL() const override;
30 void GetWebUIMessageHandlers(
31 std::vector<content::WebUIMessageHandler*>* handlers) const override;
32 void GetDialogSize(gfx::Size* size) const override;
33 std::string GetDialogArgs() const override;
34 bool CanResizeDialog() const override;
35 void OnDialogClosed(const std::string& json_retval) override;
36 void OnCloseContents(content::WebContents* source,
37 bool* out_close_dialog) override;
38 bool ShouldShowDialogTitle() const override;
39
40 DISALLOW_COPY_AND_ASSIGN(InlineLoginDialog);
41 };
42
43 } // namespace ui
44
45 #endif // CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/ui/inline_login_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698