OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H
_ |
| 6 #define CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H
_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "content/public/browser/web_contents_observer.h" |
| 10 #include "content/public/browser/web_contents_user_data.h" |
| 11 |
| 12 class EnhancedBookmarkTabHelper |
| 13 : public content::WebContentsObserver, |
| 14 public content::WebContentsUserData<EnhancedBookmarkTabHelper> { |
| 15 public: |
| 16 ~EnhancedBookmarkTabHelper() override {}; |
| 17 |
| 18 // content::WebContentsObserver overrides. |
| 19 void DocumentOnLoadCompletedInMainFrame() override; |
| 20 |
| 21 private: |
| 22 explicit EnhancedBookmarkTabHelper(content::WebContents* contents); |
| 23 friend class content::WebContentsUserData<EnhancedBookmarkTabHelper>; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarkTabHelper); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPE
R_H_ |
OLD | NEW |