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

Unified Diff: components/html_viewer/setup.h

Issue 1166123005: Removes ServiceProviders from ViewManager::Embed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use is_headless rather than check for browser. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/html_viewer.cc ('k') | components/html_viewer/setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/setup.h
diff --git a/components/html_viewer/setup.h b/components/html_viewer/setup.h
index ed3255466d44c201d36613397c20890d48c851c1..305ef14dcb1e9341d72d1dcd21c84e6e3c2ff2f8 100644
--- a/components/html_viewer/setup.h
+++ b/components/html_viewer/setup.h
@@ -39,10 +39,6 @@ class Setup {
explicit Setup(mojo::ApplicationImpl* app);
~Setup();
- // Use to explicitly create headless regardless of command line switches.
- // This must be invoked before InitIfNecessary().
- void InitHeadless();
-
// Inits with the specified screen size and device pixel ratio.
// NOTE: we wait to complete setup until the device pixel ratio is available
// as ResourceBundle uses the device pixel ratio during initialization.
@@ -72,7 +68,7 @@ class Setup {
resource_provider::ResourceLoader resource_loader_;
- bool is_headless_;
+ const bool is_headless_;
// True once we've completed init.
bool did_init_;
« no previous file with comments | « components/html_viewer/html_viewer.cc ('k') | components/html_viewer/setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698