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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: aelias@ review: moved combined resize into WebView Created 4 years, 8 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
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 856
857 // Indicates whether this view overrides url-based zoom settings. 857 // Indicates whether this view overrides url-based zoom settings.
858 bool uses_temporary_zoom_level_; 858 bool uses_temporary_zoom_level_;
859 859
860 #if defined(OS_ANDROID) 860 #if defined(OS_ANDROID)
861 // Cache the old top controls state constraints. Used when updating 861 // Cache the old top controls state constraints. Used when updating
862 // current value only without altering the constraints. 862 // current value only without altering the constraints.
863 TopControlsState top_controls_constraints_; 863 TopControlsState top_controls_constraints_;
864 #endif 864 #endif
865 865
866 // Whether or not Blink's viewport size should be shrunk by the height of the
867 // URL-bar.
868 bool top_controls_shrink_blink_size_;
869
870 // The height of the top controls.
871 float top_controls_height_;
872
866 // Indicates whether this page has been focused/unfocused by the browser. 873 // Indicates whether this page has been focused/unfocused by the browser.
867 bool has_focus_; 874 bool has_focus_;
868 875
869 // View ---------------------------------------------------------------------- 876 // View ----------------------------------------------------------------------
870 877
871 // Cache the preferred size of the page in order to prevent sending the IPC 878 // Cache the preferred size of the page in order to prevent sending the IPC
872 // when layout() recomputes but doesn't actually change sizes. 879 // when layout() recomputes but doesn't actually change sizes.
873 gfx::Size preferred_size_; 880 gfx::Size preferred_size_;
874 881
875 // Used to delay determining the preferred size (to avoid intermediate 882 // Used to delay determining the preferred size (to avoid intermediate
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 // use the Observer interface to filter IPC messages and receive frame change 992 // use the Observer interface to filter IPC messages and receive frame change
986 // notifications. 993 // notifications.
987 // --------------------------------------------------------------------------- 994 // ---------------------------------------------------------------------------
988 995
989 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 996 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
990 }; 997 };
991 998
992 } // namespace content 999 } // namespace content
993 1000
994 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1001 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698