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" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/browser/sessions/session_id.h" | 13 #include "chrome/browser/sessions/session_id.h" |
14 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 14 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 class SkBitmap; | 17 class SkBitmap; |
18 | 18 |
19 namespace browser_sync { | 19 namespace browser_sync { |
20 class SyncedTabDelegate; | 20 class SyncedTabDelegate; |
21 } | 21 } |
22 | 22 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 content::WebContents* InitWebContentsFromView(JNIEnv* env, | 90 content::WebContents* InitWebContentsFromView(JNIEnv* env, |
91 jobject content_view); | 91 jobject content_view); |
92 | 92 |
93 SessionID tab_id_; | 93 SessionID tab_id_; |
94 | 94 |
95 private: | 95 private: |
96 JavaObjectWeakGlobalRef weak_java_tab_; | 96 JavaObjectWeakGlobalRef weak_java_tab_; |
97 }; | 97 }; |
98 | 98 |
99 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 99 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |