forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1530402 - Add {Browser,Page}Action support to GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49042 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
10 changed files
with
398 additions
and
14 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...e/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/ActionButton.java
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,18 @@ | ||
package org.mozilla.geckoview_example; | ||
|
||
import android.graphics.Bitmap; | ||
|
||
public class ActionButton { | ||
final Bitmap icon; | ||
final String text; | ||
final Integer textColor; | ||
final Integer backgroundColor; | ||
|
||
public ActionButton(final Bitmap icon, final String text, final Integer textColor, | ||
final Integer backgroundColor) { | ||
this.icon = icon; | ||
this.text = text; | ||
this.textColor = textColor; | ||
this.backgroundColor = backgroundColor; | ||
} | ||
} |
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
Oops, something went wrong.