Commit Graph
341 Commits
Author SHA1 Message Date
Deep 6c2d4183c2 Update behaviour for checkbox on p3a onboarding 2021-01-13 17:15:30 -05:00
Deep fd8d14fc22 Update NTP code to avoid ID related issue 2021-01-13 16:24:08 -05:00
Deep 50c3d711a2 Add rewards modal for existing user 2021-01-11 23:45:17 -05:00
Deep 892abcd45e Update privacy report behaviour for p3a 2021-01-08 16:21:26 -05:00
Deep b69c92347d ADd UI for p3a full screen onboarding 2021-01-08 16:02:56 -05:00
Max 8c4a6c90fa Merge pull request #7408 from brave/cr88
Upgrade from Chromium 88.0.4315.7 to Chromium 88.0.4324.51.
2021-01-06 20:22:12 -05:00
Deep fd3ee48551 Update NTP widget layout location 2021-01-06 03:36:09 -05:00
Deep b8312f5129 Fix 12010 2021-01-06 03:00:08 -05:00
samartnik 1daa5b9a8a [Android] Fixed lint errors
Fixes errors like
../../chrome/android/java/res/layout/binance_deposit_layout.xml:39: Error: Must use app:tint instead of android:tint [UseAppTint]
           android:tint="@android:color/white"

Chromium change:
https://chromium.googlesource.com/chromium/src/+/33026f0b97add89f468693c385db94d821e55b6e

Android: Enable custom lint checks from aars (reland)

Some aar files (e.g. androidx) that chrome depends on contain a lint.jar
file and/or a annotations.zip file. The lint.jar file includes custom
android lint checks. The annotations.zip file contains @IntDef and other
annotations needed for lint checks that are usually available by source
but are not available in aars.

By using these files, we can make our existing lint checks more
comprehensive as well as benefit from lint checks by the aar library
authors.

See newly ignored checks in lint-baseline.xml which is updated in this
CL as an example. Actually fixing these errors is left for future CLs
in order to enable them quicker and avoid unnecessary relands.

Original CL: https://crrev.com/c/2510793

Fixed:
- Avoid ../../ prefix in temporary extraction of aar files.

Tbr: Reland with trivial fix.
Bug: 1078229
2021-01-05 21:27:43 -05:00
Deep 5eeb103ab1 Update design for privacy stats
Format code
2021-01-03 18:42:32 -05:00
Deep 3939532996 Update Search engine onboarding 2020-12-28 15:47:15 -05:00
Deep b519f25ac6 Update brave shields based on userlytics feedback 2020-12-28 15:47:15 -05:00
Deep e6f1b0942c Update onboarding behaviour
FIx debug error

Update NTP banner behaviour
2020-12-11 17:45:04 -05:00
Deep Pandya 99ab49cb12 Merge pull request #7378 from brave/update_bre_android
Update BRE android
2020-12-09 21:42:03 -05:00
Deep 36732b92ad Address PR comments 2020-12-09 11:18:22 -05:00
Deep cf25b3436c Update UI for tablet 2020-12-08 19:46:51 -05:00
Deep 00d82e117e Update welcome layout 2020-12-08 16:31:21 -05:00
samartnik 7f548ebbf2 [Android] Fix for tint changes for home button
Chromium change:
https://chromium.googlesource.com/chromium/src/+/88757c64b874d89657ba1e2a4c53120d17fc84ff

Toolbar: HomeButton without HomepageManager dependency

Made HomeButton work without dependency on chrome.browser.homepage
classes. All the deps are now deferred to ToolbarManager.
The dependencies are injected not through ctor but init method
introduced in this CL since the home button and the enclosing view
(ToolbarLayout) are instantiated from xml.

Menu handling logic was moved to HomepageManager to make it test-
friendly.

Also removed a bunch of dead code in HomeButton. Several public setters
(ActivityTabObserver, ThemeColorProvider, StartSurfaceSupplier) were
used by BrowsingModeBottomToolbarCoordinator only (see
    https://crrev.com/c/1981099). There's no callsite left any more as
the class was already gone.

Bug: 1127732
2020-12-08 15:25:59 -05:00
samartnik 5afc7b0c6b [Android] Toolbar: HomeButton without HomepageManager dependency
Chromium change:
https://chromium.googlesource.com/chromium/src/+/88757c64b874d89657ba1e2a4c53120d17fc84ff

Toolbar: HomeButton without HomepageManager dependency

Made HomeButton work without dependency on chrome.browser.homepage
classes. All the deps are now deferred to ToolbarManager.
The dependencies are injected not through ctor but init method
introduced in this CL since the home button and the enclosing view
(ToolbarLayout) are instantiated from xml.

Menu handling logic was moved to HomepageManager to make it test-
friendly.

Also removed a bunch of dead code in HomeButton. Several public setters
(ActivityTabObserver, ThemeColorProvider, StartSurfaceSupplier) were
used by BrowsingModeBottomToolbarCoordinator only (see
    https://crrev.com/c/1981099). There's no callsite left any more as
the class was already gone.

Bug: 1127732
2020-12-08 15:25:56 -05:00
samartnik e520d8dd3c [Android] Swipe gesture was removed for bottom toolbar
Chromium change:
https://chromium.googlesource.com/chromium/src/+/0c251a1554cbbb58867db4e90fe823490a2085d3

Toolbar: Delete unused code in bottom bar

Bottom toolbar does not to support swipe gesture. This CL deletes the
code that handled it in ScrollingBottomViewResourceFrameLayout.

Bug: 1127732
2020-12-08 15:25:01 -05:00
Deep d53fbf1b15 Update Rewards onboarding UI
Update Rewards onboarding behaviour

Update StartProcess in Rewards panel
2020-12-08 08:33:36 -05:00
Deep 2593366342 Add scrollbars 2020-12-08 04:08:35 -05:00
Deep 3fa83a275b Add AC UI on brave rewards onboarding
Update BRE panel behaviour
2020-12-01 04:35:41 -05:00
Deep Pandya c4c2fd4e7a Merge pull request #7255 from brave/fallback_ui_for_top_tiles_android
Add layout for fall back UI for top tiles
2020-11-25 23:59:36 -05:00
Deep acc67d70ca Add layout for fall back UI for top tiles 2020-11-25 20:48:20 -05:00
Terry Mancey ef8f8da9c7 Implement custom Brave Ad notifications 2020-11-21 21:26:36 +00:00
AlexeyBarabash d700962bce Merge pull request #7188 from brave/qa_command_line
Support full command line for QA prefs (Android)
2020-11-18 22:27:20 +02:00
AlexeyBarabash 9339916915 Support full command line for QA prefs; fixes brave-browser#12428 2020-11-18 21:02:07 +02:00
Deep e99906eab3 Update text size to fit 2020-11-18 10:44:44 -05:00
Deep 1044a27165 Update widget for no connection state 2020-11-18 10:43:02 -05:00
Deep ba18d95e8c Add check for unsupported regions
Update binance convert edge cases
2020-11-16 04:46:38 -05:00
Deep d061f03450 Update top site tile with dimension 2020-11-11 14:07:42 -05:00
Deep 87fd8f1295 Update welcome layout 2020-11-10 17:39:27 -05:00
Deep 93ab08e940 Update brave rewards onboarding
Add scrollview for brave rewards onboarding
2020-11-10 17:39:27 -05:00
Deep 4583b796b3 Add rewards onboarding modal
Update existing UI
2020-11-10 17:39:27 -05:00
AlexeyBarabash 2abcd6e011 Modified UI according to review 2020-10-29 10:30:16 +02:00
AlexeyBarabash 7efc2acee8 Android browser can delete other devices in chain 2020-10-29 10:30:15 +02:00
samartnik c86d69b866 [Android] Move BottomToolbar code to brave-core (stage 3)
Pacthes to integrate BottomToolbar back to Chromium

Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/ad4cf0623574d9d7ea517d0063cb054d98766964

Duet: Clean up unused classes and resources

Delete all the classes and resources left unused by
Duet (BottomToolbar).

Bug: 1081343
2020-10-28 14:03:58 -04:00
samartnik 6409a63743 [Android] Move BottomToolbar code to brave-core (stage 2)
Code clean up

Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/ad4cf0623574d9d7ea517d0063cb054d98766964

Duet: Clean up unused classes and resources

Delete all the classes and resources left unused by
Duet (BottomToolbar).

Bug: 1081343
2020-10-28 14:03:57 -04:00
samartnik b7fa98d94a [Android] Added video iph card
Chromium change:
https://chromium.googlesource.com/chromium/src/+/1edd6aa74a4f0835f65483d27929717eaadff0b9

Video IPH : Added video iph card

This CL adds:
1 - VideoIPHCreator that takes a ViewStub and inflates into an IPH
2 - A manager class on NTP to manage showing various video tutorial IPHs
3 - Added IPH features for search and download
4 - Moved VideoTutorialServiceFactory package to upper level

TODO:
 - The IPH layout isn't upto spec. Needs one more pass.
 - The IPH configs aren't fully correct. Needs one more pass. I added
 them here for the sake of review clarity and completeness.

Bug: 1117147
2020-10-28 14:03:57 -04:00
samartnik f58e1205b7 [Android] Move BottomToolbar code to brave-core (stage 1)
Moved code deleted in Chromium to brave-core

Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/ad4cf0623574d9d7ea517d0063cb054d98766964

Duet: Clean up unused classes and resources

Delete all the classes and resources left unused by
Duet (BottomToolbar).

Bug: 1081343
2020-10-28 14:00:05 -04:00
samartnik cffab2d0fd [Android] NTP Card was removed
Chromium change:
https://chromium.googlesource.com/chromium/src/+/756b5c3cf62b7fa01c37ad09b7e9e1282e181a93

Content Indexing : Remove NTP Card

This CL removes the content indexing entry point card shown on NTP.

Bug: 1108602
2020-10-28 14:00:05 -04:00
Deep 1fd8b04e50 Apply changes for BRE in existing code
Refactor code

Refactor UI
2020-10-22 09:10:57 +02:00
Deep c9b1ada175 Add search in deposit section
Format existing code
2020-10-17 13:02:40 -04:00
Deep 22af42de17 Add top sites error state
Fix UI
2020-10-17 13:02:40 -04:00
Deep d2d7c2f446 Add loading spinner 2020-10-17 13:02:40 -04:00
Deep 88eca72b18 Add new icons
Address feedback
2020-10-17 13:02:40 -04:00
Deep 4310a934b8 Update UI and Fix issues with blanck screen
Refactor existing code
2020-10-17 13:02:40 -04:00
Deep 33d017ab6d Update Logic for widget tsack 2020-10-17 13:02:40 -04:00
Deep 3be1f40271 Add widget stack activity
ADd settings option for widget stack
2020-10-17 13:02:40 -04:00