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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // The owning window that has a hold of main application activity. | 333 // The owning window that has a hold of main application activity. |
334 ui::WindowAndroid* window_android_; | 334 ui::WindowAndroid* window_android_; |
335 | 335 |
336 // The cache of device's current orientation set from Java side, this value | 336 // The cache of device's current orientation set from Java side, this value |
337 // will be sent to Renderer once it is ready. | 337 // will be sent to Renderer once it is ready. |
338 int device_orientation_; | 338 int device_orientation_; |
339 | 339 |
340 bool accessibility_enabled_; | 340 bool accessibility_enabled_; |
341 | 341 |
342 // Manages injecting Java objects. | 342 // Manages injecting Java objects. |
343 scoped_ptr<GinJavaBridgeDispatcherHost> | 343 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
344 java_bridge_dispatcher_host_; | |
345 | 344 |
346 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 345 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
347 }; | 346 }; |
348 | 347 |
349 bool RegisterContentViewCore(JNIEnv* env); | 348 bool RegisterContentViewCore(JNIEnv* env); |
350 | 349 |
351 } // namespace content | 350 } // namespace content |
352 | 351 |
353 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 352 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |