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; | |
515 friend class PepperDeviceTest; | 514 friend class PepperDeviceTest; |
516 friend class RenderViewImplTest; | 515 friend class RenderViewImplTest; |
517 friend class RenderViewTest; | 516 friend class RenderViewTest; |
518 friend class RendererAccessibilityTest; | 517 friend class RendererAccessibilityTest; |
519 | 518 |
520 // TODO(nasko): Temporarily friend RenderFrameImpl, so we don't duplicate | 519 // TODO(nasko): Temporarily friend RenderFrameImpl, so we don't duplicate |
521 // utility functions needed in both classes, while we move frame specific | 520 // utility functions needed in both classes, while we move frame specific |
522 // code away from this class. | 521 // code away from this class. |
523 friend class RenderFrameImpl; | 522 friend class RenderFrameImpl; |
524 | 523 |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 // use the Observer interface to filter IPC messages and receive frame change | 1016 // use the Observer interface to filter IPC messages and receive frame change |
1018 // notifications. | 1017 // notifications. |
1019 // --------------------------------------------------------------------------- | 1018 // --------------------------------------------------------------------------- |
1020 | 1019 |
1021 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1022 }; | 1021 }; |
1023 | 1022 |
1024 } // namespace content | 1023 } // namespace content |
1025 | 1024 |
1026 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |