| OLD | NEW |
| (Empty) | |
| 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_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/ui/bookmarks/bookmark_bubble_delegate.h" |
| 11 |
| 12 class Browser; |
| 13 |
| 14 // Delegate of the bookmark bubble to load the sign in page in a browser |
| 15 // when the sign in link is clicked. |
| 16 class BookmarkBubbleSignInDelegate : public BookmarkBubbleDelegate { |
| 17 public: |
| 18 explicit BookmarkBubbleSignInDelegate(Browser* browser); |
| 19 |
| 20 private: |
| 21 // BookmarkBubbleDelegate: |
| 22 virtual void OnSignInLinkClicked() OVERRIDE; |
| 23 |
| 24 // The browser in which the sign in page must be loaded. |
| 25 Browser* browser_; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleSignInDelegate); |
| 28 }; |
| 29 |
| 30 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ |
| OLD | NEW |