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

Side by Side Diff: chromecast/shell/app/cast_main_delegate.h

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ScreenCast code and stale comments. Created 6 years, 5 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
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 CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
6 #define CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "chromecast/shell/common/cast_content_client.h"
10 #include "content/public/app/content_main_delegate.h"
11
12 namespace chromecast {
13 namespace shell {
14
15 class CastContentBrowserClient;
16 class CastContentRendererClient;
17
18 class CastMainDelegate : public content::ContentMainDelegate {
19 public:
20 CastMainDelegate();
21 virtual ~CastMainDelegate();
22
23 // Implementation of content::ContentMainDelegate
24 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
25 virtual void PreSandboxStartup() OVERRIDE;
26 virtual void ZygoteForked() OVERRIDE;
27
28 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
29 virtual content::ContentRendererClient* CreateContentRendererClient()
30 OVERRIDE;
jam 2014/07/01 21:56:09 nit: don't begin a line with OVERRIDE (see cr-dev
lcwu1 2014/07/02 23:30:33 Done.
31
32 private:
33 static void InitializeResourceBundle();
34
35 scoped_ptr<CastContentBrowserClient> browser_client_;
36 scoped_ptr<CastContentRendererClient> renderer_client_;
37 CastContentClient content_client_;
38
39 DISALLOW_COPY_AND_ASSIGN(CastMainDelegate);
40 };
41
42 } // namespace shell
43 } // namespace chromecast
44
45 #endif // CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698