Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / ui / sync / one_click_signin_bubble_links_delegate.h
blob04dde37ccd1ecb80db3524335d5393fabef5a090
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.
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_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h"
12 class Browser;
14 class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate {
15 public:
16 // |browser| must outlive the delegate.
17 explicit OneClickSigninBubbleLinksDelegate(Browser* browser);
18 virtual ~OneClickSigninBubbleLinksDelegate();
20 private:
21 // OneClickSigninBubbleDelegate:
22 virtual void OnLearnMoreLinkClicked(bool is_dialog) override;
23 virtual void OnAdvancedLinkClicked() override;
25 // Browser in which the links should be opened.
26 Browser* browser_;
28 DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate);
31 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_