~zaspire/oxide/push-messaging

« back to all changes in this revision

Viewing changes to shared/renderer/oxide_content_renderer_client.h

  • Committer: Chris Coulson
  • Date: 2015-06-12 01:05:21 UTC
  • Revision ID: chris.coulson@canonical.com-20150612010521-88ormpcpvswxaumk
Make ContentBrowserClient / ContentRendererClient memebers of ContentMainDelegate like ContentClient already is

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "base/macros.h"
22
22
#include "content/public/renderer/content_renderer_client.h"
23
23
 
24
 
namespace base {
25
 
template <typename Type> struct DefaultLazyInstanceTraits;
26
 
}
27
 
 
28
24
namespace oxide {
29
25
 
30
26
#if defined(ENABLE_MEDIAHUB)
34
30
 
35
31
class ContentRendererClient final : public content::ContentRendererClient {
36
32
 public:
 
33
  ContentRendererClient();
 
34
  ~ContentRendererClient();
 
35
 
37
36
  // XXX(chrisccoulson): Try not to add anything here
38
37
 
39
38
 private:
40
 
  friend struct base::DefaultLazyInstanceTraits<ContentRendererClient>;
41
 
 
42
 
  ContentRendererClient();
43
 
  ~ContentRendererClient();
44
 
 
45
39
  // content::ContentRendererClient implementation
46
40
  void RenderThreadStarted() final;
47
41
  void RenderFrameCreated(content::RenderFrame* render_frame) final;