| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ | 6 #define COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/renderer/content_renderer_client.h" | 8 #include "content/public/renderer/content_renderer_client.h" |
| 9 | 9 |
| 10 namespace printing { | 10 namespace printing { |
| 11 | 11 |
| 12 class PrintTestContentRendererClient : public content::ContentRendererClient { | 12 class PrintTestContentRendererClient : public content::ContentRendererClient { |
| 13 public: | 13 public: |
| 14 PrintTestContentRendererClient(); | 14 PrintTestContentRendererClient(); |
| 15 ~PrintTestContentRendererClient() override; | 15 ~PrintTestContentRendererClient() override; |
| 16 | 16 |
| 17 void RenderViewCreated(content::RenderView* render_view) override; | 17 void RenderFrameCreated(content::RenderFrame* render_frame) override; |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 } // namespace printing | 20 } // namespace printing |
| 21 | 21 |
| 22 #endif // COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ | 22 #endif // COMPONENTS_PRINTING_TEST_PRINT_TEST_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |