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

Side by Side Diff: headless/lib/browser/headless_browser_context_options.h

Issue 2642143002: [headless] Make --hide-scrollbars affect all BrowserContexts. (Closed)
Patch Set: 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_ 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_ 6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 explicit HeadlessBrowserContextOptions(HeadlessBrowser::Options*); 59 explicit HeadlessBrowserContextOptions(HeadlessBrowser::Options*);
60 60
61 HeadlessBrowser::Options* browser_options_; 61 HeadlessBrowser::Options* browser_options_;
62 62
63 base::Optional<std::string> user_agent_; 63 base::Optional<std::string> user_agent_;
64 base::Optional<net::HostPortPair> proxy_server_; 64 base::Optional<net::HostPortPair> proxy_server_;
65 base::Optional<std::string> host_resolver_rules_; 65 base::Optional<std::string> host_resolver_rules_;
66 base::Optional<gfx::Size> window_size_; 66 base::Optional<gfx::Size> window_size_;
67 base::Optional<base::FilePath> user_data_dir_; 67 base::Optional<base::FilePath> user_data_dir_;
68 base::Optional<bool> incognito_mode_; 68 base::Optional<bool> incognito_mode_;
69 base::Optional<base::Callback<void(WebPreferences*)>>
70 override_web_preferences_callback_;
69 71
70 ProtocolHandlerMap protocol_handlers_; 72 ProtocolHandlerMap protocol_handlers_;
71 base::Callback<void(WebPreferences*)> override_web_preferences_callback_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextOptions); 74 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextOptions);
74 }; 75 };
75 76
76 } // namespace headless 77 } // namespace headless
77 78
78 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_ 79 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_CONTEXT_OPTIONS_H_
OLDNEW
« no previous file with comments | « headless/app/headless_shell.cc ('k') | headless/lib/browser/headless_browser_context_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698