| OLD | NEW |
| 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 module content.mojom; | 5 module content.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/frame_sink_id.mojom"; |
| 7 import "content/common/native_types.mojom"; | 8 import "content/common/native_types.mojom"; |
| 8 import "ipc/ipc.mojom"; | 9 import "ipc/ipc.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 import "ui/gfx/mojo/icc_profile.mojom"; | 11 import "ui/gfx/mojo/icc_profile.mojom"; |
| 11 | 12 |
| 12 struct CreateViewParams { | 13 struct CreateViewParams { |
| 13 // Renderer-wide preferences. | 14 // Renderer-wide preferences. |
| 14 RendererPreferences renderer_preferences; | 15 RendererPreferences renderer_preferences; |
| 15 | 16 |
| 16 // Preferences for this view. | 17 // Preferences for this view. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 gfx.mojom.Size min_size; | 65 gfx.mojom.Size min_size; |
| 65 | 66 |
| 66 // The maximum size to layout the page if auto-resize is enabled. | 67 // The maximum size to layout the page if auto-resize is enabled. |
| 67 gfx.mojom.Size max_size; | 68 gfx.mojom.Size max_size; |
| 68 | 69 |
| 69 // The page zoom level. | 70 // The page zoom level. |
| 70 double page_zoom_level; | 71 double page_zoom_level; |
| 71 | 72 |
| 72 // The ICC profile of the output color space to use for image decode. | 73 // The ICC profile of the output color space to use for image decode. |
| 73 gfx.mojom.ICCProfile image_decode_color_space; | 74 gfx.mojom.ICCProfile image_decode_color_space; |
| 75 |
| 76 cc.mojom.FrameSinkId frame_sink_id; |
| 74 }; | 77 }; |
| 75 | 78 |
| 76 struct CreateFrameWidgetParams { | 79 struct CreateFrameWidgetParams { |
| 77 // Gives the routing ID for the RenderWidget that will be attached to the | 80 // Gives the routing ID for the RenderWidget that will be attached to the |
| 78 // new RenderFrame. If the RenderFrame does not need a RenderWidget, this | 81 // new RenderFrame. If the RenderFrame does not need a RenderWidget, this |
| 79 // is MSG_ROUTING_NONE and the other parameters are not read. | 82 // is MSG_ROUTING_NONE and the other parameters are not read. |
| 80 int32 routing_id; | 83 int32 routing_id; |
| 81 | 84 |
| 82 // Tells the new RenderWidget whether it is initially hidden. | 85 // Tells the new RenderWidget whether it is initially hidden. |
| 83 bool hidden; | 86 bool hidden; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 UpdateScrollbarTheme(UpdateScrollbarThemeParams params); | 169 UpdateScrollbarTheme(UpdateScrollbarThemeParams params); |
| 167 | 170 |
| 168 // Notification that the OS X Aqua color preferences changed. | 171 // Notification that the OS X Aqua color preferences changed. |
| 169 OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color, | 172 OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color, |
| 170 string highlight_color); | 173 string highlight_color); |
| 171 | 174 |
| 172 // Tells the renderer to empty its plugin list cache, optional reloading | 175 // Tells the renderer to empty its plugin list cache, optional reloading |
| 173 // pages containing plugins. | 176 // pages containing plugins. |
| 174 PurgePluginListCache(bool reload_pages); | 177 PurgePluginListCache(bool reload_pages); |
| 175 }; | 178 }; |
| OLD | NEW |