OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |