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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 // or right" state that was last sent to the browser. | 1368 // or right" state that was last sent to the browser. |
1369 bool cached_is_main_frame_pinned_to_left_; | 1369 bool cached_is_main_frame_pinned_to_left_; |
1370 bool cached_is_main_frame_pinned_to_right_; | 1370 bool cached_is_main_frame_pinned_to_right_; |
1371 | 1371 |
1372 // These store the "has scrollbars" state last sent to the browser. | 1372 // These store the "has scrollbars" state last sent to the browser. |
1373 bool cached_has_main_frame_horizontal_scrollbar_; | 1373 bool cached_has_main_frame_horizontal_scrollbar_; |
1374 bool cached_has_main_frame_vertical_scrollbar_; | 1374 bool cached_has_main_frame_vertical_scrollbar_; |
1375 | 1375 |
1376 // Helper objects ------------------------------------------------------------ | 1376 // Helper objects ------------------------------------------------------------ |
1377 | 1377 |
1378 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1378 // Deleted by RenderFrameImpl::frameDetach(). |
| 1379 RenderFrameImpl* main_render_frame_; |
1379 | 1380 |
1380 RendererWebCookieJarImpl cookie_jar_; | 1381 RendererWebCookieJarImpl cookie_jar_; |
1381 | 1382 |
1382 // The next group of objects all implement RenderViewObserver, so are deleted | 1383 // The next group of objects all implement RenderViewObserver, so are deleted |
1383 // along with the RenderView automatically. This is why we just store | 1384 // along with the RenderView automatically. This is why we just store |
1384 // weak references. | 1385 // weak references. |
1385 | 1386 |
1386 // Holds a reference to the service which provides desktop notifications. | 1387 // Holds a reference to the service which provides desktop notifications. |
1387 NotificationProvider* notification_provider_; | 1388 NotificationProvider* notification_provider_; |
1388 | 1389 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 // use the Observer interface to filter IPC messages and receive frame change | 1564 // use the Observer interface to filter IPC messages and receive frame change |
1564 // notifications. | 1565 // notifications. |
1565 // --------------------------------------------------------------------------- | 1566 // --------------------------------------------------------------------------- |
1566 | 1567 |
1567 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1568 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1568 }; | 1569 }; |
1569 | 1570 |
1570 } // namespace content | 1571 } // namespace content |
1571 | 1572 |
1572 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1573 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |