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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 1656983002: Remove dependency from content_renderer on startup_metric_utils_common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class RenderFrame; 70 class RenderFrame;
71 class RenderView; 71 class RenderView;
72 class SynchronousCompositor; 72 class SynchronousCompositor;
73 struct WebPluginInfo; 73 struct WebPluginInfo;
74 74
75 // Embedder API for participating in renderer logic. 75 // Embedder API for participating in renderer logic.
76 class CONTENT_EXPORT ContentRendererClient { 76 class CONTENT_EXPORT ContentRendererClient {
77 public: 77 public:
78 virtual ~ContentRendererClient() {} 78 virtual ~ContentRendererClient() {}
79 79
80 // Notifies that the RendererMain function has been entered.
81 virtual void RendererMainEntered() {}
82
80 // Notifies us that the RenderThread has been created. 83 // Notifies us that the RenderThread has been created.
81 virtual void RenderThreadStarted() {} 84 virtual void RenderThreadStarted() {}
82 85
83 // Notifies that a new RenderFrame has been created. 86 // Notifies that a new RenderFrame has been created.
84 virtual void RenderFrameCreated(RenderFrame* render_frame) {} 87 virtual void RenderFrameCreated(RenderFrame* render_frame) {}
85 88
86 // Notifies that a new RenderView has been created. 89 // Notifies that a new RenderView has been created.
87 virtual void RenderViewCreated(RenderView* render_view) {} 90 virtual void RenderViewCreated(RenderView* render_view) {}
88 91
89 // Returns the bitmap to show when a plugin crashed, or NULL for none. 92 // Returns the bitmap to show when a plugin crashed, or NULL for none.
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 const GURL& url) {} 325 const GURL& url) {}
323 326
324 // Whether this renderer should enforce preferences related to the WebRTC 327 // Whether this renderer should enforce preferences related to the WebRTC
325 // routing logic, i.e. allowing multiple routes and non-proxied UDP. 328 // routing logic, i.e. allowing multiple routes and non-proxied UDP.
326 virtual bool ShouldEnforceWebRTCRoutingPreferences(); 329 virtual bool ShouldEnforceWebRTCRoutingPreferences();
327 }; 330 };
328 331
329 } // namespace content 332 } // namespace content
330 333
331 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 334 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698