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 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 bool cached_is_main_frame_pinned_to_left_; | 1146 bool cached_is_main_frame_pinned_to_left_; |
1147 bool cached_is_main_frame_pinned_to_right_; | 1147 bool cached_is_main_frame_pinned_to_right_; |
1148 | 1148 |
1149 // These store the "has scrollbars" state last sent to the browser. | 1149 // These store the "has scrollbars" state last sent to the browser. |
1150 bool cached_has_main_frame_horizontal_scrollbar_; | 1150 bool cached_has_main_frame_horizontal_scrollbar_; |
1151 bool cached_has_main_frame_vertical_scrollbar_; | 1151 bool cached_has_main_frame_vertical_scrollbar_; |
1152 | 1152 |
1153 // Bookkeeping to suppress redundant scroll and focus requests for an already | 1153 // Bookkeeping to suppress redundant scroll and focus requests for an already |
1154 // scrolled and focused editable node. | 1154 // scrolled and focused editable node. |
1155 bool has_scrolled_focused_editable_node_into_rect_; | 1155 bool has_scrolled_focused_editable_node_into_rect_; |
| 1156 bool is_orientation_changed_; |
1156 gfx::Rect rect_for_scrolled_focused_editable_node_; | 1157 gfx::Rect rect_for_scrolled_focused_editable_node_; |
1157 | 1158 |
1158 // Helper objects ------------------------------------------------------------ | 1159 // Helper objects ------------------------------------------------------------ |
1159 | 1160 |
1160 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1161 scoped_ptr<RenderFrameImpl> main_render_frame_; |
1161 | 1162 |
1162 // The next group of objects all implement RenderViewObserver, so are deleted | 1163 // The next group of objects all implement RenderViewObserver, so are deleted |
1163 // along with the RenderView automatically. This is why we just store | 1164 // along with the RenderView automatically. This is why we just store |
1164 // weak references. | 1165 // weak references. |
1165 | 1166 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 // use the Observer interface to filter IPC messages and receive frame change | 1324 // use the Observer interface to filter IPC messages and receive frame change |
1324 // notifications. | 1325 // notifications. |
1325 // --------------------------------------------------------------------------- | 1326 // --------------------------------------------------------------------------- |
1326 | 1327 |
1327 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1328 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1328 }; | 1329 }; |
1329 | 1330 |
1330 } // namespace content | 1331 } // namespace content |
1331 | 1332 |
1332 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1333 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |