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

Side by Side Diff: blimp/engine/app/blimp_content_browser_client.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 (c) 2015 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 BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "content/public/browser/content_browser_client.h"
10
11 namespace blimp {
12 namespace engine {
13
14 class BlimpBrowserMainParts;
15 class BlimpBrowserContext;
16
17 class BlimpContentBrowserClient : public content::ContentBrowserClient {
18 public:
19 BlimpContentBrowserClient();
20 ~BlimpContentBrowserClient() override;
21
22 BlimpBrowserMainParts* blimp_browser_main_parts() {
23 return blimp_browser_main_parts_;
24 }
25
26 // content::ContentBrowserClient implementation.
27 content::BrowserMainParts* CreateBrowserMainParts(
28 const content::MainFunctionParams& parameters) override;
29 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
30 content::WebPreferences* prefs) override;
31 void ExposeInterfacesToRenderer(
32 service_manager::InterfaceRegistry* registry,
33 content::RenderProcessHost* render_process_host) override;
34 std::unique_ptr<base::Value> GetServiceManifestOverlay(
35 base::StringPiece name) override;
36
37 BlimpBrowserContext* GetBrowserContext();
38
39 private:
40 // Owned by BrowserMainLoop
41 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
42
43 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient);
44 };
45
46 } // namespace engine
47 } // namespace blimp
48
49 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_browser_resources.grd ('k') | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698