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

Side by Side Diff: chrome/browser/ui/views/sync/one_click_signin_dialog_view.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "chrome/browser/ui/browser_window.h" 15 #include "chrome/browser/ui/browser_window.h"
16 #include "chrome/browser/ui/sync/one_click_signin_links_delegate.h" 16 #include "chrome/browser/ui/sync/one_click_signin_links_delegate.h"
17 #include "ui/views/controls/button/button.h" 17 #include "ui/views/controls/button/button.h"
18 #include "ui/views/controls/link_listener.h" 18 #include "ui/views/controls/link_listener.h"
19 #include "ui/views/window/dialog_delegate.h" 19 #include "ui/views/window/dialog_delegate.h"
20 20
21 namespace views { 21 namespace views {
22 class GridLayout;
23 class ImageButton;
24 class LabelButton;
25 class View; 22 class View;
26 } 23 }
27 24
28 // This class allows users to confirm sync signin in cases where signin is 25 // This class allows users to confirm sync signin in cases where signin is
29 // untrusted. 26 // untrusted.
30 class OneClickSigninDialogView : public views::DialogDelegateView, 27 class OneClickSigninDialogView : public views::DialogDelegateView,
31 public views::LinkListener { 28 public views::LinkListener {
32 public: 29 public:
33 // Show the one-click signin dialog if not already showing. |start_sync| is 30 // Show the one-click signin dialog if not already showing. |start_sync| is
34 // called to start sync. 31 // called to start sync.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Link to the Learn More details page 87 // Link to the Learn More details page
91 views::Link* learn_more_link_; 88 views::Link* learn_more_link_;
92 89
93 // The bubble, if we're showing one. 90 // The bubble, if we're showing one.
94 static OneClickSigninDialogView* dialog_view_; 91 static OneClickSigninDialogView* dialog_view_;
95 92
96 DISALLOW_COPY_AND_ASSIGN(OneClickSigninDialogView); 93 DISALLOW_COPY_AND_ASSIGN(OneClickSigninDialogView);
97 }; 94 };
98 95
99 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_ 96 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/session_crashed_bubble_view.h ('k') | chrome/browser/ui/views/tabs/tab_drag_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698