Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: chrome/browser/android/tab_android.h

Issue 2764673002: Embedded media: Rotate to fullscreen
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 const std::string& GetWebappManifestScope() const { 239 const std::string& GetWebappManifestScope() const {
240 return webapp_manifest_scope_; 240 return webapp_manifest_scope_;
241 } 241 }
242 242
243 void EnableEmbeddedMediaExperience( 243 void EnableEmbeddedMediaExperience(
244 JNIEnv* env, 244 JNIEnv* env,
245 const base::android::JavaParamRef<jobject>& obj, 245 const base::android::JavaParamRef<jobject>& obj,
246 jboolean enabled); 246 jboolean enabled);
247 247
248 jboolean GetEmbeddedMediaExperienceEnabled(
249 JNIEnv* env,
250 const base::android::JavaParamRef<jobject>& obj);
251
248 bool ShouldEnableEmbeddedMediaExperience() const; 252 bool ShouldEnableEmbeddedMediaExperience() const;
249 253
250 // Register the Tab's native methods through JNI. 254 // Register the Tab's native methods through JNI.
251 static bool RegisterTabAndroid(JNIEnv* env); 255 static bool RegisterTabAndroid(JNIEnv* env);
252 256
253 private: 257 private:
254 prerender::PrerenderManager* GetPrerenderManager() const; 258 prerender::PrerenderManager* GetPrerenderManager() const;
255 259
256 JavaObjectWeakGlobalRef weak_java_tab_; 260 JavaObjectWeakGlobalRef weak_java_tab_;
257 261
(...skipping 14 matching lines...) Expand all
272 276
273 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 277 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
274 278
275 std::string webapp_manifest_scope_; 279 std::string webapp_manifest_scope_;
276 bool embedded_media_experience_enabled_; 280 bool embedded_media_experience_enabled_;
277 281
278 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 282 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
279 }; 283 };
280 284
281 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 285 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698