Chromium Code Reviews| 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 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1374 // or right" state that was last sent to the browser. | 1374 // or right" state that was last sent to the browser. |
| 1375 bool cached_is_main_frame_pinned_to_left_; | 1375 bool cached_is_main_frame_pinned_to_left_; |
| 1376 bool cached_is_main_frame_pinned_to_right_; | 1376 bool cached_is_main_frame_pinned_to_right_; |
| 1377 | 1377 |
| 1378 // These store the "has scrollbars" state last sent to the browser. | 1378 // These store the "has scrollbars" state last sent to the browser. |
| 1379 bool cached_has_main_frame_horizontal_scrollbar_; | 1379 bool cached_has_main_frame_horizontal_scrollbar_; |
| 1380 bool cached_has_main_frame_vertical_scrollbar_; | 1380 bool cached_has_main_frame_vertical_scrollbar_; |
| 1381 | 1381 |
| 1382 // Helper objects ------------------------------------------------------------ | 1382 // Helper objects ------------------------------------------------------------ |
| 1383 | 1383 |
| 1384 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1384 // Deleted by RenderFrameImpl::frameDetach(). |
| 1385 RenderFrameImpl* main_render_frame_; | |
|
awong
2013/11/22 01:07:15
I think this still needs to be a scoped_ptr. See
Charlie Reis
2013/11/22 02:07:23
I'm confused. Are you referring to this comment?
| |
| 1385 | 1386 |
| 1386 RendererWebCookieJarImpl cookie_jar_; | 1387 RendererWebCookieJarImpl cookie_jar_; |
| 1387 | 1388 |
| 1388 // The next group of objects all implement RenderViewObserver, so are deleted | 1389 // The next group of objects all implement RenderViewObserver, so are deleted |
| 1389 // along with the RenderView automatically. This is why we just store | 1390 // along with the RenderView automatically. This is why we just store |
| 1390 // weak references. | 1391 // weak references. |
| 1391 | 1392 |
| 1392 // Holds a reference to the service which provides desktop notifications. | 1393 // Holds a reference to the service which provides desktop notifications. |
| 1393 NotificationProvider* notification_provider_; | 1394 NotificationProvider* notification_provider_; |
| 1394 | 1395 |
| (...skipping 168 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 |