| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 bool top_controls_shrink_blink_size_; | 896 bool top_controls_shrink_blink_size_; |
| 897 | 897 |
| 898 // The height of the top controls. | 898 // The height of the top controls. |
| 899 float top_controls_height_; | 899 float top_controls_height_; |
| 900 | 900 |
| 901 // Indicates whether this page has been focused/unfocused by the browser. | 901 // Indicates whether this page has been focused/unfocused by the browser. |
| 902 bool has_focus_; | 902 bool has_focus_; |
| 903 | 903 |
| 904 // View ---------------------------------------------------------------------- | 904 // View ---------------------------------------------------------------------- |
| 905 | 905 |
| 906 blink::WebView* webview_; |
| 907 |
| 906 // Cache the preferred size of the page in order to prevent sending the IPC | 908 // Cache the preferred size of the page in order to prevent sending the IPC |
| 907 // when layout() recomputes but doesn't actually change sizes. | 909 // when layout() recomputes but doesn't actually change sizes. |
| 908 gfx::Size preferred_size_; | 910 gfx::Size preferred_size_; |
| 909 | 911 |
| 910 // Used to delay determining the preferred size (to avoid intermediate | 912 // Used to delay determining the preferred size (to avoid intermediate |
| 911 // states for the sizes). | 913 // states for the sizes). |
| 912 base::OneShotTimer check_preferred_size_timer_; | 914 base::OneShotTimer check_preferred_size_timer_; |
| 913 | 915 |
| 914 // Bookkeeping to suppress redundant scroll and focus requests for an already | 916 // Bookkeeping to suppress redundant scroll and focus requests for an already |
| 915 // scrolled and focused editable node. | 917 // scrolled and focused editable node. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 // use the Observer interface to filter IPC messages and receive frame change | 1026 // use the Observer interface to filter IPC messages and receive frame change |
| 1025 // notifications. | 1027 // notifications. |
| 1026 // --------------------------------------------------------------------------- | 1028 // --------------------------------------------------------------------------- |
| 1027 | 1029 |
| 1028 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1030 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1029 }; | 1031 }; |
| 1030 | 1032 |
| 1031 } // namespace content | 1033 } // namespace content |
| 1032 | 1034 |
| 1033 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1035 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |