forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert AwViewMsg_SetBackgroundColor to a mojom message.
There are a series of messages that are sent to the LocalMainFrame of the webview. This maps SetBackgroundColor onto one of those messages. Other targeted messages will be converted in followup CLs. BUG=993189 Change-Id: I221d0c9be378c731d0bb3a11e508bda8ba0dc849 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518798 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#824926}
- Loading branch information
Showing
7 changed files
with
61 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2020 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
module android_webview.mojom; | ||
|
||
import "skia/public/mojom/skcolor.mojom"; | ||
|
||
// Similar to blink::mojom::LocalMainFrame. This interface adds additional | ||
// things that webview needs from the main frame. | ||
interface LocalMainFrame { | ||
|
||
// Sets the base background color for this view. | ||
SetBackgroundColor(skia.mojom.SkColor color); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters