Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
|
Lei Zhang
2017/03/29 05:30:16
no (c)
jzfeng
2017/03/30 03:04:57
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ | |
| 6 #define HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ | |
| 7 | |
| 8 #include "content/public/renderer/content_renderer_client.h" | |
| 9 | |
| 10 namespace headless { | |
| 11 | |
| 12 class HeadlessContentRendererClient : public content::ContentRendererClient { | |
| 13 public: | |
| 14 HeadlessContentRendererClient(); | |
| 15 ~HeadlessContentRendererClient() override; | |
| 16 | |
| 17 private: | |
| 18 void RenderFrameCreated(content::RenderFrame* render_frame) override; | |
| 19 | |
| 20 DISALLOW_COPY_AND_ASSIGN(HeadlessContentRendererClient); | |
| 21 }; | |
| 22 | |
| 23 } // namespace headless | |
| 24 | |
| 25 #endif // HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ | |
| OLD | NEW |