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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class DocumentState; 64 class DocumentState;
65 class MediaStreamRendererFactory; 65 class MediaStreamRendererFactory;
66 class RenderFrame; 66 class RenderFrame;
67 class RenderView; 67 class RenderView;
68 class SynchronousCompositor; 68 class SynchronousCompositor;
69 struct WebPluginInfo; 69 struct WebPluginInfo;
70 70
71 // Embedder API for participating in renderer logic. 71 // Embedder API for participating in renderer logic.
72 class CONTENT_EXPORT ContentRendererClient { 72 class CONTENT_EXPORT ContentRendererClient {
73 public: 73 public:
74 ContentRendererClient();
74 virtual ~ContentRendererClient() {} 75 virtual ~ContentRendererClient() {}
75 76
76 // Notifies us that the RenderThread has been created. 77 // Notifies us that the RenderThread has been created.
77 virtual void RenderThreadStarted() {} 78 virtual void RenderThreadStarted() {}
78 79
79 // Notifies that a new RenderFrame has been created. 80 // Notifies that a new RenderFrame has been created.
80 virtual void RenderFrameCreated(RenderFrame* render_frame) {} 81 virtual void RenderFrameCreated(RenderFrame* render_frame) {}
81 82
82 // Notifies that a new RenderView has been created. 83 // Notifies that a new RenderView has been created.
83 virtual void RenderViewCreated(RenderView* render_view) {} 84 virtual void RenderViewCreated(RenderView* render_view) {}
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 const GURL& url) {} 302 const GURL& url) {}
302 303
303 // Whether this renderer should enforce preferences related to the WebRTC 304 // Whether this renderer should enforce preferences related to the WebRTC
304 // routing logic, i.e. allowing multiple routes and non-proxied UDP. 305 // routing logic, i.e. allowing multiple routes and non-proxied UDP.
305 virtual bool ShouldEnforceWebRTCRoutingPreferences(); 306 virtual bool ShouldEnforceWebRTCRoutingPreferences();
306 }; 307 };
307 308
308 } // namespace content 309 } // namespace content
309 310
310 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 311 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698