Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / sync / one_click_signin_bubble_links_delegate.h
1 // Copyright 2013 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_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h"
11
12 class Browser;
13
14 class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate {
15  public:
16   // |browser| must outlive the delegate.
17   explicit OneClickSigninBubbleLinksDelegate(Browser* browser);
18   ~OneClickSigninBubbleLinksDelegate() override;
19
20  private:
21   // OneClickSigninBubbleDelegate:
22   void OnLearnMoreLinkClicked(bool is_dialog) override;
23   void OnAdvancedLinkClicked() override;
24
25   // Browser in which the links should be opened.
26   Browser* browser_;
27
28   DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate);
29 };
30
31 #endif  // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_