OLD | NEW |
---|---|
(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 module chrome.mojom; | |
6 | |
7 struct InitialConfigurationParams { | |
8 // Indicates whether this process is running in incognito mode. | |
9 bool is_incognito_process; | |
10 | |
11 // TODO(nigeltao): port the ChromeViewMsg_SetContentSettingRules legacy IPC | |
12 // message to use Mojo. | |
13 }; | |
14 | |
15 // The primordial Channel-associated interface implemented by a render process. | |
16 // This should be used for implementing browser-to-renderer control messages | |
17 // which need to retain FIFO with respect to legacy IPC messages. | |
18 // | |
19 // See also content.mojom.Renderer defined in content/common/renderer.mojom. | |
20 interface Renderer { | |
21 // Configures the renderer, queued to send when the render process will | |
22 // launch. | |
23 InitialConfiguration(InitialConfigurationParams params); | |
Ken Rockot(use gerrit already)
2016/12/01 18:46:30
Please just pass a bool argument. You need need a
Ken Rockot(use gerrit already)
2016/12/01 18:49:45
Err... that should be "don't need"
nigeltao1
2016/12/01 21:57:20
It could be just a bool in this CL, but as per the
Ken Rockot(use gerrit already)
2016/12/01 22:02:59
I would still then do:
SetInitialConfiguration(bo
nigeltao1
2016/12/02 05:36:53
Done.
| |
24 }; | |
OLD | NEW |