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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 273523007: Dispatch geolocation IPCs on the UI thread. Aside from simplifying the code to avoid a lot of threa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // like AutofillPopup. 367 // like AutofillPopup.
368 ui::ViewAndroid* view_android_; 368 ui::ViewAndroid* view_android_;
369 369
370 // The owning window that has a hold of main application activity. 370 // The owning window that has a hold of main application activity.
371 ui::WindowAndroid* window_android_; 371 ui::WindowAndroid* window_android_;
372 372
373 // The cache of device's current orientation set from Java side, this value 373 // The cache of device's current orientation set from Java side, this value
374 // will be sent to Renderer once it is ready. 374 // will be sent to Renderer once it is ready.
375 int device_orientation_; 375 int device_orientation_;
376 376
377 bool geolocation_needs_pause_;
378
379
380 bool accessibility_enabled_; 377 bool accessibility_enabled_;
381 378
382 // Manages injecting Java objects. 379 // Manages injecting Java objects.
383 scoped_ptr<JavaBridgeDispatcherHostManager> 380 scoped_ptr<JavaBridgeDispatcherHostManager>
384 java_bridge_dispatcher_host_manager_; 381 java_bridge_dispatcher_host_manager_;
385 382
386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 383 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
387 }; 384 };
388 385
389 bool RegisterContentViewCore(JNIEnv* env); 386 bool RegisterContentViewCore(JNIEnv* env);
390 387
391 } // namespace content 388 } // namespace content
392 389
393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 390 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « components/autofill/content/browser/risk/fingerprint_browsertest.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698