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

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

Issue 2060943005: Enable content embedder register mojo services with RPH-specific information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 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 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 BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 10
(...skipping 11 matching lines...) Expand all
22 BlimpBrowserMainParts* blimp_browser_main_parts() { 22 BlimpBrowserMainParts* blimp_browser_main_parts() {
23 return blimp_browser_main_parts_; 23 return blimp_browser_main_parts_;
24 } 24 }
25 25
26 // content::ContentBrowserClient implementation. 26 // content::ContentBrowserClient implementation.
27 content::BrowserMainParts* CreateBrowserMainParts( 27 content::BrowserMainParts* CreateBrowserMainParts(
28 const content::MainFunctionParams& parameters) override; 28 const content::MainFunctionParams& parameters) override;
29 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, 29 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
30 content::WebPreferences* prefs) override; 30 content::WebPreferences* prefs) override;
31 void RegisterRenderProcessMojoServices( 31 void RegisterRenderProcessMojoServices(
32 content::ServiceRegistry* registry) override; 32 content::ServiceRegistry* registry,
33 content::RenderProcessHost* render_process_host) override;
33 34
34 BlimpBrowserContext* GetBrowserContext(); 35 BlimpBrowserContext* GetBrowserContext();
35 36
36 private: 37 private:
37 // Owned by BrowserMainLoop 38 // Owned by BrowserMainLoop
38 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; 39 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
39 40
40 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); 41 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient);
41 }; 42 };
42 43
43 } // namespace engine 44 } // namespace engine
44 } // namespace blimp 45 } // namespace blimp
45 46
46 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 47 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698