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

Unified Diff: blimp/engine/app/blimp_main.cc

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « blimp/engine/app/blimp_engine_config.cc ('k') | blimp/engine/app/test_content_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_main.cc
diff --git a/blimp/engine/app/blimp_main.cc b/blimp/engine/app/blimp_main.cc
index adcc92cb75a54b72e27e674f9bb2fb79160470e0..10aaa9bd86e407cb123a9d671790e779661000e2 100644
--- a/blimp/engine/app/blimp_main.cc
+++ b/blimp/engine/app/blimp_main.cc
@@ -4,24 +4,13 @@
#include "base/command_line.h"
#include "blimp/engine/app/blimp_content_main_delegate.h"
+#include "blimp/engine/app/blimp_engine_config.h"
#include "content/public/app/content_main.h"
-const char kEnableOverlayScrollbar[] = "--enable-overlay-scrollbar";
-const char kDisableCachedPictureRaster[] = "--disable-cached-picture-raster";
-const char kDisableGpu[] = "--disable-gpu";
-const char kDisableRemoteFonts[] = "--disable-remote-fonts";
-const char kUseRemoteCompositing[] = "--use-remote-compositing";
int main(int argc, const char** argv) {
base::CommandLine::Init(argc, argv);
-
- // Set internal command line switches for Blimp engine.
- base::CommandLine::ForCurrentProcess()->AppendSwitch(kEnableOverlayScrollbar);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- kDisableCachedPictureRaster);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(kDisableGpu);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(kDisableRemoteFonts);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(kUseRemoteCompositing);
+ blimp::engine::SetCommandLineDefaults(base::CommandLine::ForCurrentProcess());
blimp::engine::BlimpContentMainDelegate delegate;
content::ContentMainParams params(&delegate);
« no previous file with comments | « blimp/engine/app/blimp_engine_config.cc ('k') | blimp/engine/app/test_content_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698