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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 | 1302 |
1303 // Allows JS to access DOM automation. The JS object is only exposed when the | 1303 // Allows JS to access DOM automation. The JS object is only exposed when the |
1304 // DOM automation bindings are enabled. | 1304 // DOM automation bindings are enabled. |
1305 scoped_ptr<DomAutomationController> dom_automation_controller_; | 1305 scoped_ptr<DomAutomationController> dom_automation_controller_; |
1306 | 1306 |
1307 // Indicates whether this RenderView is a guest of another RenderView. | 1307 // Indicates whether this RenderView is a guest of another RenderView. |
1308 bool guest_; | 1308 bool guest_; |
1309 | 1309 |
1310 // NOTE: pepper_delegate_ should be last member because its constructor calls | 1310 // NOTE: pepper_delegate_ should be last member because its constructor calls |
1311 // AddObservers method of RenderViewImpl from c-tor. | 1311 // AddObservers method of RenderViewImpl from c-tor. |
1312 PepperPluginDelegateImpl pepper_delegate_; | 1312 content::PepperPluginDelegateImpl pepper_delegate_; |
1313 | 1313 |
1314 // --------------------------------------------------------------------------- | 1314 // --------------------------------------------------------------------------- |
1315 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1315 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1316 // sections rather than throwing it randomly at the end. If you're adding a | 1316 // sections rather than throwing it randomly at the end. If you're adding a |
1317 // bunch of stuff, you should probably create a helper class and put your | 1317 // bunch of stuff, you should probably create a helper class and put your |
1318 // data and methods on that to avoid bloating RenderView more. You can | 1318 // data and methods on that to avoid bloating RenderView more. You can |
1319 // use the Observer interface to filter IPC messages and receive frame change | 1319 // use the Observer interface to filter IPC messages and receive frame change |
1320 // notifications. | 1320 // notifications. |
1321 // --------------------------------------------------------------------------- | 1321 // --------------------------------------------------------------------------- |
1322 | 1322 |
1323 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1323 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1324 }; | 1324 }; |
1325 | 1325 |
1326 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1326 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |