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

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

Issue 1386403003: Resize only the virtual viewport when the OSK triggers a resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/InsetConsumerView/InsetObserverView Created 4 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 364
365 void DidStopFlinging(); 365 void DidStopFlinging();
366 366
367 // Returns the context with which the ContentViewCore was created, typically 367 // Returns the context with which the ContentViewCore was created, typically
368 // the Activity context. 368 // the Activity context.
369 base::android::ScopedJavaLocalRef<jobject> GetContext() const; 369 base::android::ScopedJavaLocalRef<jobject> GetContext() const;
370 370
371 // Returns the viewport size after accounting for the viewport offset. 371 // Returns the viewport size after accounting for the viewport offset.
372 gfx::Size GetViewSize() const; 372 gfx::Size GetViewSize() const;
373 373
374 gfx::Size GetViewSizeWithOSKHidden() const;
375
374 void SetAccessibilityEnabledInternal(bool enabled); 376 void SetAccessibilityEnabledInternal(bool enabled);
375 377
376 bool IsFullscreenRequiredForOrientationLock() const; 378 bool IsFullscreenRequiredForOrientationLock() const;
377 379
378 // -------------------------------------------------------------------------- 380 // --------------------------------------------------------------------------
379 // Methods called from native code 381 // Methods called from native code
380 // -------------------------------------------------------------------------- 382 // --------------------------------------------------------------------------
381 383
382 gfx::Size GetPhysicalBackingSize() const; 384 gfx::Size GetPhysicalBackingSize() const;
383 gfx::Size GetViewportSizeDip() const; 385 gfx::Size GetViewportSizeDip() const;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 477 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
476 478
477 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 479 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
478 }; 480 };
479 481
480 bool RegisterContentViewCore(JNIEnv* env); 482 bool RegisterContentViewCore(JNIEnv* env);
481 483
482 } // namespace content 484 } // namespace content
483 485
484 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 486 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.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