Chromium Code Reviews| Index: chrome/browser/shell_integration.h |
| diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h |
| index 7730a029341a1784afa657930d611138218a5a36..89e2016ba6b7dbd6050c0638327f26c1e0e689ad 100644 |
| --- a/chrome/browser/shell_integration.h |
| +++ b/chrome/browser/shell_integration.h |
| @@ -134,15 +134,16 @@ using DefaultWebClientWorkerCallback = |
| // (on Linux) are involved and this can be slow. |
| // By default, the worker will present the user with an interactive flow if |
| // required by the platform. This can be suppressed via |
| -// set_interactive_permitted(), in which case an attempt to set Chrome as |
| -// the default handler will silently fail on such platforms. |
| +// set_can_process_events_within_subtree_permitted(), in which case an attempt |
|
sky
2017/02/24 21:32:33
optional: remove '_permitted'. It's unnecessary an
Evan Stade
2017/02/24 21:39:10
oops, this was an overzealous find/replace. I've j
|
| +// to set Chrome as the default handler will silently fail on such platforms. |
| class DefaultWebClientWorker |
| : public base::RefCountedThreadSafe<DefaultWebClientWorker> { |
| public: |
| // Controls whether the worker can use user interaction to set the default |
| // web client. If false, the set-as-default operation will fail on OS where |
| // it is required. |
| - void set_interactive_permitted(bool interactive_permitted) { |
| + void set_can_process_events_within_subtree_permitted( |
| + bool interactive_permitted) { |
| interactive_permitted_ = interactive_permitted; |
| } |