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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
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_UI_INLINE_LOGIN_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/web_dialogs/web_dialog_delegate.h" 10 #include "ui/web_dialogs/web_dialog_delegate.h"
11 11
12 namespace content { 12 namespace content {
13 class BrowserContext; 13 class BrowserContext;
14 } 14 }
15 15
16 namespace ui { 16 namespace ui {
17 17
18 class InlineLoginDialog : public WebDialogDelegate { 18 class InlineLoginDialog : public WebDialogDelegate {
19 public: 19 public:
20 static void Show(content::BrowserContext* context); 20 static void Show(content::BrowserContext* context);
21 21
22 private: 22 private:
23 InlineLoginDialog(); 23 InlineLoginDialog();
24 virtual ~InlineLoginDialog(); 24 virtual ~InlineLoginDialog();
25 25
26 // Overriden from WebDialogDelegate. 26 // Overriden from WebDialogDelegate.
27 virtual ModalType GetDialogModalType() const OVERRIDE; 27 virtual ModalType GetDialogModalType() const override;
28 virtual base::string16 GetDialogTitle() const OVERRIDE; 28 virtual base::string16 GetDialogTitle() const override;
29 virtual GURL GetDialogContentURL() const OVERRIDE; 29 virtual GURL GetDialogContentURL() const override;
30 virtual void GetWebUIMessageHandlers( 30 virtual void GetWebUIMessageHandlers(
31 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; 31 std::vector<content::WebUIMessageHandler*>* handlers) const override;
32 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 32 virtual void GetDialogSize(gfx::Size* size) const override;
33 virtual std::string GetDialogArgs() const OVERRIDE; 33 virtual std::string GetDialogArgs() const override;
34 virtual bool CanResizeDialog() const OVERRIDE; 34 virtual bool CanResizeDialog() const override;
35 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 35 virtual void OnDialogClosed(const std::string& json_retval) override;
36 virtual void OnCloseContents(content::WebContents* source, 36 virtual void OnCloseContents(content::WebContents* source,
37 bool* out_close_dialog) OVERRIDE; 37 bool* out_close_dialog) override;
38 virtual bool ShouldShowDialogTitle() const OVERRIDE; 38 virtual bool ShouldShowDialogTitle() const override;
39 39
40 DISALLOW_COPY_AND_ASSIGN(InlineLoginDialog); 40 DISALLOW_COPY_AND_ASSIGN(InlineLoginDialog);
41 }; 41 };
42 42
43 } // namespace ui 43 } // namespace ui
44 44
45 #endif // CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_ 45 #endif // CHROME_BROWSER_CHROMEOS_UI_INLINE_LOGIN_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698