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