| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/android/jni_helper.h" | 10 #include "base/android/jni_helper.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // Called when context menu option to create the bookmark shortcut on | 64 // Called when context menu option to create the bookmark shortcut on |
| 65 // homescreen is called. | 65 // homescreen is called. |
| 66 virtual void AddShortcutToBookmark( | 66 virtual void AddShortcutToBookmark( |
| 67 const GURL& url, const string16& title, const SkBitmap& skbitmap, | 67 const GURL& url, const string16& title, const SkBitmap& skbitmap, |
| 68 int r_value, int g_value, int b_value) = 0; | 68 int r_value, int g_value, int b_value) = 0; |
| 69 | 69 |
| 70 protected: | 70 protected: |
| 71 virtual ~TabAndroid(); | 71 virtual ~TabAndroid(); |
| 72 | 72 |
| 73 static void InitTabHelpers(content::WebContents* web_contents); |
| 74 |
| 73 int tab_id_; | 75 int tab_id_; |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 78 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| OLD | NEW |