Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: headless/lib/renderer/headless_content_renderer_client.h

Issue 2873283002: [Reland] Allow headless TabSocket in isolated worlds & remove obsolete logic (Closed)
Patch Set: Fix GN Issue Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « headless/lib/renderer/DEPS ('k') | headless/lib/renderer/headless_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_
6 #define HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ 6 #define HEADLESS_LIB_RENDERER_HEADLESS_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 headless { 10 namespace headless {
11 11
12 class HeadlessContentRendererClient : public content::ContentRendererClient { 12 class HeadlessContentRendererClient : public content::ContentRendererClient {
13 public: 13 public:
14 HeadlessContentRendererClient(); 14 HeadlessContentRendererClient();
15 ~HeadlessContentRendererClient() override; 15 ~HeadlessContentRendererClient() override;
16 16
17 private: 17 private:
18 void RenderFrameCreated(content::RenderFrame* render_frame) override; 18 void RenderFrameCreated(content::RenderFrame* render_frame) override;
19 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;
20 19
21 DISALLOW_COPY_AND_ASSIGN(HeadlessContentRendererClient); 20 DISALLOW_COPY_AND_ASSIGN(HeadlessContentRendererClient);
22 }; 21 };
23 22
24 } // namespace headless 23 } // namespace headless
25 24
26 #endif // HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_ 25 #endif // HEADLESS_LIB_RENDERER_HEADLESS_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « headless/lib/renderer/DEPS ('k') | headless/lib/renderer/headless_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698