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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 195793004: Implement overscroll support for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_widget_host_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 (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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // The current size of the RenderWidget. 754 // The current size of the RenderWidget.
755 gfx::Size current_size_; 755 gfx::Size current_size_;
756 756
757 // The size of the view's backing surface in non-DPI-adjusted pixels. 757 // The size of the view's backing surface in non-DPI-adjusted pixels.
758 gfx::Size physical_backing_size_; 758 gfx::Size physical_backing_size_;
759 759
760 // The height of the physical backing surface that is overdrawn opaquely in 760 // The height of the physical backing surface that is overdrawn opaquely in
761 // the browser, for example by an on-screen-keyboard (in DPI-adjusted pixels). 761 // the browser, for example by an on-screen-keyboard (in DPI-adjusted pixels).
762 float overdraw_bottom_height_; 762 float overdraw_bottom_height_;
763 763
764 // The size of the visible viewport, which may be smaller than the view if the
765 // view is partially occluded (e.g. by a virtual keyboard). The size is in
766 // DPI-adjusted pixels.
767 gfx::Size visible_viewport_size_;
768
764 // The size we last sent as requested size to the renderer. |current_size_| 769 // The size we last sent as requested size to the renderer. |current_size_|
765 // is only updated once the resize message has been ack'd. This on the other 770 // is only updated once the resize message has been ack'd. This on the other
766 // hand is updated when the resize message is sent. This is very similar to 771 // hand is updated when the resize message is sent. This is very similar to
767 // |resize_ack_pending_|, but the latter is not set if the new size has width 772 // |resize_ack_pending_|, but the latter is not set if the new size has width
768 // or height zero, which is why we need this too. 773 // or height zero, which is why we need this too.
769 gfx::Size last_requested_size_; 774 gfx::Size last_requested_size_;
770 775
771 // The next auto resize to send. 776 // The next auto resize to send.
772 gfx::Size new_auto_size_; 777 gfx::Size new_auto_size_;
773 778
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 #endif 884 #endif
880 885
881 int64 last_input_number_; 886 int64 last_input_number_;
882 887
883 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 888 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
884 }; 889 };
885 890
886 } // namespace content 891 } // namespace content
887 892
888 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 893 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698