| Index: chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bd7454f13297cce21ba51c7dc0ad31a45b46ee6d
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
|
| +#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "chrome/browser/ui/bookmarks/bookmark_bubble_delegate.h"
|
| +
|
| +class Browser;
|
| +
|
| +// Delegate of the bookmark bubble to load the sign in page in a browser
|
| +// when the sign in link is clicked.
|
| +class BookmarkBubbleSignInDelegate : public BookmarkBubbleDelegate {
|
| + public:
|
| + explicit BookmarkBubbleSignInDelegate(Browser* browser);
|
| +
|
| + private:
|
| + // BookmarkBubbleDelegate:
|
| + virtual void OnSignInLinkClicked() OVERRIDE;
|
| +
|
| + // The browser in which the sign in page must be loaded.
|
| + Browser* browser_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleSignInDelegate);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
|
|
|