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

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

Issue 814083004: Notify main-thread of top controls state changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error after rebase Created 5 years, 10 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 | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_view_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_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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 901
902 // The next target URL we want to send to the browser. 902 // The next target URL we want to send to the browser.
903 GURL pending_target_url_; 903 GURL pending_target_url_;
904 904
905 // Indicates whether this view overrides url-based zoom settings. 905 // Indicates whether this view overrides url-based zoom settings.
906 bool uses_temporary_zoom_level_; 906 bool uses_temporary_zoom_level_;
907 907
908 #if defined(OS_ANDROID) 908 #if defined(OS_ANDROID)
909 // Cache the old top controls state constraints. Used when updating 909 // Cache the old top controls state constraints. Used when updating
910 // current value only without altering the constraints. 910 // current value only without altering the constraints.
911 cc::TopControlsState top_controls_constraints_; 911 TopControlsState top_controls_constraints_;
912 #endif 912 #endif
913 913
914 // View ---------------------------------------------------------------------- 914 // View ----------------------------------------------------------------------
915 915
916 // Cache the preferred size of the page in order to prevent sending the IPC 916 // Cache the preferred size of the page in order to prevent sending the IPC
917 // when layout() recomputes but doesn't actually change sizes. 917 // when layout() recomputes but doesn't actually change sizes.
918 gfx::Size preferred_size_; 918 gfx::Size preferred_size_;
919 919
920 // Used to delay determining the preferred size (to avoid intermediate 920 // Used to delay determining the preferred size (to avoid intermediate
921 // states for the sizes). 921 // states for the sizes).
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 // use the Observer interface to filter IPC messages and receive frame change 1047 // use the Observer interface to filter IPC messages and receive frame change
1048 // notifications. 1048 // notifications.
1049 // --------------------------------------------------------------------------- 1049 // ---------------------------------------------------------------------------
1050 1050
1051 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1051 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1052 }; 1052 };
1053 1053
1054 } // namespace content 1054 } // namespace content
1055 1055
1056 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1056 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698