Commit Graph
1880 Commits
Author SHA1 Message Date
zenparsing 3f3b05f5ef Allow fractional tipping amounts in the tip dialog 2021-03-31 15:48:32 -04:00
Sergey P ec79b94bac Change IPFS dialog UI to default 2021-03-30 07:17:40 +03:00
sergey 0945316ecf Add ipfs page info bubble 2021-03-30 07:17:40 +03:00
Sergey P ace6f84085 Stop node if switched from local node to another option 2021-03-26 18:44:35 +03:00
Serg cf8219a057 Merge pull request #8296 from brave/custom_web3_provider
Custom web3 provider
2021-03-25 18:11:22 -04:00
Emerick Rogul 553b9d48a5 Hide Brave Rewards toggle doesn't work after launching private window 2021-03-24 22:01:17 -04:00
Serg 2ec453742c Fixes code review suggestions 2021-03-24 15:27:42 -04:00
Brian R. Bondy 64a3778dc7 Move wallet browser code to components/brave_wallet/browser 2021-03-24 15:27:42 -04:00
Serg c933857da3 adds custom web3 provider build flag and feature check 2021-03-24 15:27:42 -04:00
Serg efc1f2c757 injects window.ethereum object into all frames 2021-03-24 15:27:42 -04:00
Max dd270fb461 Merge pull request #7866 from brave/cr90
Upgrade from Chromium 89 to Chromium 90.
2021-03-23 21:46:08 -04:00
Sergey 2550ca03ca Add local node to list 2021-03-23 22:29:02 +03:00
mkarolin cbd049ce12 Updated strings for Chromium 90.0.4430.30. 2021-03-23 15:01:29 -04:00
mkarolin 0cfe7fb0ce Updated strings for Chromium 90.0.4430.11. 2021-03-23 14:55:36 -04:00
mkarolin 395d99e521 Fixes dependencies on //chrome/browser/profiles.
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/20a41c8b03a9ab035619e225520dfec484fb3e69

commit 20a41c8b03a9ab035619e225520dfec484fb3e69
Author: Glen Robertson <glenrob@chromium.org>
Date:   Tue Jan 19 08:20:35 2021 +0000

    Separate profile.{cc,h} (& observer) to its own GN target.

    This allows other code to depend on profile.h (very common as it is a
    keyed service key) without depending on all of //c/b:browser. This
    improves modularization of the codebase and will help to break
    dependency cycles in GN.

    Bug: 1149277
2021-03-23 14:55:34 -04:00
mkarolin 02551fab9c TranslateBubbleModel API changed.
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/db01f8a5783095aee1de20925fb8cc4d67f6c485

commit db01f8a5783095aee1de20925fb8cc4d67f6c485
Author: Anthony Cui <cuianthony@google.com>
Date:   Thu Feb 18 21:45:18 2021 +0000

    Refactor unknown source language option and add support to Android

    This change
    - Refactors the implementation of the Unknown source language option,
    adding it at the TranslateUIDelegate level and treating it like other
    language options
    - Renames the "Unknown" option to "Detected Language" for a more
    functional description
    - Adds support for use of the new "Detected Language" source language
    option on Android
    - Adds both the string change and the Android support changes behind a
    new feature flag

    Bug: 1127094
2021-03-23 14:55:33 -04:00
mkarolin 935b727fe9 UserManager has been removed.
Should use ProfilePicker now.

Chromium change:

https://chromium.googlesource.com/chromium/src/+/f3c2c8d2fff648ef78f520f823aeaae48ac7ec4c

commit f3c2c8d2fff648ef78f520f823aeaae48ac7ec4c
Author: Monica Basta <msalama@chromium.org>
Date:   Mon Feb 22 18:21:01 2021 +0000

    [UserManager]: Remove the user manager code.

    The User manager is being replaced with the new profile picker. This CL
    deletes the user manager code.

    Bug: 1014322
2021-03-23 14:55:31 -04:00
mkarolin 4bca02a889 ShowSingletonTabOverwritingNTP signature changed.
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/1b46c0a5122001153c56824f024a68ba56e5d1f9

commit 1b46c0a5122001153c56824f024a68ba56e5d1f9
Author: Keishi Hattori <keishi@chromium.org>
Date:   Mon Feb 22 22:02:34 2021 +0000

    Fix BrowserNavigatorTest.SwitchToTabIncognitoLeak for BackupRefPtr

    BrowserNavigatorTest.SwitchToTabIncognitoLeak fails when BackupRefPtr is used because it reads NavigateParams:: rowser after it has been moved.
    Unlike raw pointer, BackupRefPtr will be cleared when moved.
    This CL changes ShowSingletonTabOverwritingNTP() to take a pointer so Navigate() doesn't have to move NavigateP rams.
2021-03-23 14:55:31 -04:00
mkarolin f32d91fc59 Updated strings for Chromium 90.0.4427.5. 2021-03-23 14:55:29 -04:00
mkarolin bbda8634b8 WebUI: remove @out_folder@ stripping.
It is no longer needed: when necessary resource_path can be used in the
grd.

Chromium change:

https://bugs.chromium.org/p/chromium/issues/detail?id=1171239

https://source.chromium.org/chromium/chromium/src/+/48b1ba996d2e019abad844fc47a5a1710b9da737

commit 48b1ba996d2e019abad844fc47a5a1710b9da737
Author: dpapad <dpapad@chromium.org>
Date:   Mon Feb 8 21:10:42 2021 +0000

    WebUI: Remove aliasing mechanism in SharedResourcesDataSource

    The last few entries in the alias map were either
     1) Unnecessary because the URLs were no longer used
        (views/resources/ case)
     2) Unnecessary because they could be replaced with |resource_path|
        (lottie case)
2021-03-23 14:55:27 -04:00
Mario Sanchez Prada 61a4a23f48 Migrate away from GritResourceMap and into webui::ResourcePath
Adapt Brave-specific code and overrides to use this equivalent struct.

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

commit a696151783d69bc6e8884246418d771d06cd9f53
Author: dpapad <dpapad@chromium.org>
Date:   Tue Feb 16 12:34:08 2021 +0000

    WebuI: Delete GritResourceMap struct in favor of webui::ResourcePath.

     - Move webui::ResourcePath definition to its own file in
       ui/base/webui/.
     - Modify Grit to use webui::ResourcePath, and delete the identical
       GritResourceMap struct.
     - Remove the AddResourcePathsBulk() override that used GritResourceMap.

    This is in preparation of moving AddResourcePathsBulk to WebUIDataSource
    itself.

    Bug: 1176299
2021-03-23 14:55:24 -04:00
Mario Sanchez Prada dc5da8e7bc Bring CloseGuestProfileWindows() back into brave_profile_menu_view.cc
This method has been removed from upstream as it was not used and there
does not seem to be an equivalent one available, so let's bring it back.

Fixup! Mario says: on a second thought I think this is probably not
needed so reverting this change (and simply dropping the
CloseGuestProfileWindows() call from
BraveProfileMenuView::OnExitProfileButtonClicked().

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

commit 53d0699ee2609b7195a93d92d2433500a0affd55
Author: Monica Basta <msalama@chromium.org>
Date:   Wed Feb 10 11:57:07 2021 +0000

    [Profiles]: Avoid opening the profile picker on close 'x' windows

    Currently on click on 'Close x windows' from the profile menu, the
    profile is closed and the user manager/profile picker is opened. This
    behavior is no longer desired. Clicking on the button should only close
    the profile. This CL also removes 'CloseGuestProfileWindows' function
    that is not used.

    Bug: 1176599
2021-03-23 14:55:23 -04:00
Mario Sanchez Prada 4a7b1817cb Updated strings for Chromium 90.0.4421.5. 2021-03-23 14:55:20 -04:00
mkarolin 62bc19f5ba Updated strings for Chromium 90.0.4412.3. 2021-03-23 14:55:15 -04:00
Mario Sanchez Prada daeb29a557 Adapt to new signature of PAS::GetProfileAttributesWithPath() method
ProfileAttributesStorage::GetProfileAttributesWithPath() now returns
a ProfileAttributesEntry value (or nullptr), instead of accepting an
out parameter.

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

commit 32c25e13fbddcc93012edf83e7a340e66608f372
Author: Alex Ilin <alexilin@chromium.org>
Date:   Wed Feb 3 16:24:37 2021 +0000

    [profiles] Refactor GetProfileAttributesWithPath method

    ProfileAttributesStorage::GetProfileAttributesWithPath() used an output
    parameter + boolean return value for returning ProfileAttributesEntry*.

    This CL replaces this API with simply returning ProfileAttributesEntry*
    from the method. In case of failure, the method returns a nullptr.

    Return values are preferred over output parameters: they improve
    readability, and ofter provide the same or better performance [1].

    [1] https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs

    Change-Id: I6aa6c01af8660ac0b013407237360c8ed7f9a176
2021-03-23 14:55:08 -04:00
mkarolin fc2a9217c3 Updated strings for Chromium 90.0.4408.0. 2021-03-23 14:55:06 -04:00
samartnik b6ddfff33c [Android] tab_switcher_toolbar.xml was moved
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/afd16b5973b054f53733695ce33708ef430a0b83

Toolbar: Remove deps on TrackerFactory

Removes deps on TrackerFactory in ToolbarTabControllerImpl and
move it to the modularized toolbar/. There are a few more classes
that can also be moved:

ToolbarTabControllerImplTest.java
ToolbarTabControllerImpl.java
top/IncognitoSwitchCoordinator.java
top/IncognitoSwitchProperties.java
top/IncognitoSwitchViewBinder.java
top/TabSwitcherActionMenuCoordinator.java
top/TabSwitcherActionMenuRenderTest.java

Bug: 1127732
2021-03-23 14:55:02 -04:00
Mario Sanchez Prada 9ce8d45288 Updated strings for 90.0.4400.0. 2021-03-23 14:55:01 -04:00
Mario Sanchez Prada 24065f5daa Adapt Brave's override of content::DownloadItemView::UpdateMode()
That method does no longer exist, we need to override SetMode() now.

Chromium changes:

https://chromium.googlesource.com/chromium/src.git/+/5a77327519b1f970074c9eb593d1ea17fa18972e

commit 5a77327519b1f970074c9eb593d1ea17fa18972e
Author: Peter Kasting <pkasting@chromium.org>
Date:   Thu Jan 21 03:54:49 2021 +0000

    Add metadata for more browser objects that are commonly visible.

    Bug: 1159562
2021-03-23 14:54:59 -04:00
Mario Sanchez Prada 4525d5334d Adapt calls to InfoBarView::EndX(), it's InfoBarView::GetEndX() now
Chromium changes:

https://chromium.googlesource.com/chromium/src.git/+/c70f317d3ff08082bde54dd12f2976809d719736

commit c70f317d3ff08082bde54dd12f2976809d719736
Author: Peter Kasting <pkasting@chromium.org>
Date:   Fri Jan 22 23:31:25 2021 +0000

    Add metadata for various View subclasses that lack it, 2/n

    Bug: 1159562
2021-03-23 14:54:58 -04:00
Mario Sanchez Prada bd5b2f3943 Add missing include for gurl.h
This was probably being transitively included before.
2021-03-23 14:54:58 -04:00
Mario Sanchez Prada 9fd43925a8 Updated strings for 90.0.4399.0. 2021-03-23 14:54:54 -04:00
Jocelyn Liu 00ea13fb86 Add l10n support of resolve method options in decentralized DNS settings 2021-03-22 19:31:01 -07:00
samartnik 4caf5eb56b Merge pull request #8308 from brave/android_tab_groups_fix
[Android] Fixes Tab Groups controls behaviour on tab closing
2021-03-22 11:05:59 -04:00
samartnik 01a39dba3e [Android] Fixes Tab Groups controls behaviour on tab closing 2021-03-19 17:18:11 -04:00
mkarolin f6eaeaddb6 Updated l10n for 1.22.x release (Chromium 89). 2021-03-19 16:48:16 -04:00
Brian R. Bondy b31185e875 Revert "Merge pull request #8299 from brave/revert_8257"
This reverts commit 96aebb9ee6, reversing
changes made to 7e073b26c1.
2021-03-18 20:26:48 -04:00
Jocelyn Liu 25a3c5c48d Revert "Merge pull request #8257 from brave/ipfs-android"
This reverts commit 534a1e122d, reversing
changes made to 103be2b8c1.
2021-03-18 14:02:59 -07:00
Sergey 5bdae034f1 Merge pull request #8234 from brave/ipfs-page-indicator
Add custom badge to ipfs pages
2021-03-18 23:37:44 +03:00
spylogsster@gmail.com f6b3e1f5f2 Customized identificator for ipfs pages 2021-03-18 20:55:39 +03:00
Brian R. Bondy 7f0bc31b89 Add IPFS gateway support on Android 2021-03-17 13:09:14 -04:00
Sergey ec52b6ed5a Merge pull request #8217 from brave/ipfs-internal
Rename brave://ipfs to brave://ipfs-internals
2021-03-16 15:46:06 +03:00
sergey 974fb63e91 Rename brave://ipfs to brave://ipfs-internals 2021-03-16 10:38:10 +03:00
Ivan Efremov d10ee574c9 Include ordering fix. 2021-03-15 17:53:34 +07:00
Ivan Efremov 3739f64730 14176: Minor accessibility cleanup.
Set proper accessibility propeties for our buttons.

Fix https://github.com/brave/brave-browser/issues/14176
2021-03-15 17:53:21 +07:00
Terry Mancey 4686667a69 Fixes estimated pending rewards for Ads resets to Zero in NTP after browser restart until ads has initialized 2021-03-12 21:50:43 +00:00
samartnik 460d8335f4 Merge pull request #8227 from brave/android_reconcile_tab_groups
[Android] Reconciles Tab Group feature with bottom toolbar
2021-03-12 14:53:18 -05:00
Sergey b265c2a4de Merge pull request #8219 from brave/ipfs-installation-progress
Add installation progress to brave://ipfs page
2021-03-12 18:33:12 +03:00
Sergey e1af2bbb5a Merge pull request #8231 from brave/fix-ipfs-badge
Update ipfs badge text
2021-03-12 18:31:36 +03:00
Deep Pandya 3a39cdf265 Merge pull request #8173 from brave/remove_warning_android
Remove warning android
2021-03-12 10:03:00 -05:00