| 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 bool was_created_by_renderer); | 504 bool was_created_by_renderer); |
| 505 void SetScreenMetricsEmulationParameters( | 505 void SetScreenMetricsEmulationParameters( |
| 506 bool enabled, | 506 bool enabled, |
| 507 const blink::WebDeviceEmulationParams& params) override; | 507 const blink::WebDeviceEmulationParams& params) override; |
| 508 | 508 |
| 509 // Do not delete directly. This class is reference counted. | 509 // Do not delete directly. This class is reference counted. |
| 510 virtual ~RenderViewImpl(); | 510 virtual ~RenderViewImpl(); |
| 511 | 511 |
| 512 private: | 512 private: |
| 513 // For unit tests. | 513 // For unit tests. |
| 514 friend class DevToolsAgentTest; |
| 514 friend class PepperDeviceTest; | 515 friend class PepperDeviceTest; |
| 515 friend class RenderViewImplTest; | 516 friend class RenderViewImplTest; |
| 516 friend class RenderViewTest; | 517 friend class RenderViewTest; |
| 517 friend class RendererAccessibilityTest; | 518 friend class RendererAccessibilityTest; |
| 518 | 519 |
| 519 // TODO(nasko): Temporarily friend RenderFrameImpl, so we don't duplicate | 520 // TODO(nasko): Temporarily friend RenderFrameImpl, so we don't duplicate |
| 520 // utility functions needed in both classes, while we move frame specific | 521 // utility functions needed in both classes, while we move frame specific |
| 521 // code away from this class. | 522 // code away from this class. |
| 522 friend class RenderFrameImpl; | 523 friend class RenderFrameImpl; |
| 523 | 524 |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 // use the Observer interface to filter IPC messages and receive frame change | 1017 // use the Observer interface to filter IPC messages and receive frame change |
| 1017 // notifications. | 1018 // notifications. |
| 1018 // --------------------------------------------------------------------------- | 1019 // --------------------------------------------------------------------------- |
| 1019 | 1020 |
| 1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1021 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1021 }; | 1022 }; |
| 1022 | 1023 |
| 1023 } // namespace content | 1024 } // namespace content |
| 1024 | 1025 |
| 1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1026 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |