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

Side by Side Diff: android_webview/browser/command_line_helper.h

Issue 2396803002: [Android WebView] Add functionality to enable features and enable the spellcheck feature. (Closed)
Patch Set: Created 4 years, 2 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 2016 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 ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
6 #define ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
7
8 #include <string>
9
10 namespace base {
11 class CommandLine;
12 } // namespace base
13
14 class CommandLineHelper {
15 public:
16 // Add a feature to the --enabled-features list, but only if it's not
17 // already enabled or disabled.
18 static void AddEnabledFeature(base::CommandLine& command_line,
19 const std::string& feature_name);
20
21 private:
22 CommandLineHelper();
23 };
24
25 #endif // ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698