OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // like AutofillPopup. | 366 // like AutofillPopup. |
367 ui::ViewAndroid* view_android_; | 367 ui::ViewAndroid* view_android_; |
368 | 368 |
369 // The owning window that has a hold of main application activity. | 369 // The owning window that has a hold of main application activity. |
370 ui::WindowAndroid* window_android_; | 370 ui::WindowAndroid* window_android_; |
371 | 371 |
372 // The cache of device's current orientation set from Java side, this value | 372 // The cache of device's current orientation set from Java side, this value |
373 // will be sent to Renderer once it is ready. | 373 // will be sent to Renderer once it is ready. |
374 int device_orientation_; | 374 int device_orientation_; |
375 | 375 |
376 bool geolocation_needs_pause_; | |
377 | |
378 // Manages injecting Java objects. | 376 // Manages injecting Java objects. |
379 scoped_ptr<JavaBridgeDispatcherHostManager> | 377 scoped_ptr<JavaBridgeDispatcherHostManager> |
380 java_bridge_dispatcher_host_manager_; | 378 java_bridge_dispatcher_host_manager_; |
381 | 379 |
382 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 380 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
383 }; | 381 }; |
384 | 382 |
385 bool RegisterContentViewCore(JNIEnv* env); | 383 bool RegisterContentViewCore(JNIEnv* env); |
386 | 384 |
387 } // namespace content | 385 } // namespace content |
388 | 386 |
389 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 387 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |