diff --git a/browser/ui/views/brave_actions/brave_actions_container.cc b/browser/ui/views/brave_actions/brave_actions_container.cc index e17befdcf342..73f37848f3ac 100644 --- a/browser/ui/views/brave_actions/brave_actions_container.cc +++ b/browser/ui/views/brave_actions/brave_actions_container.cc @@ -44,22 +44,22 @@ void BraveActionsContainer::Init() { SetLayoutManager(std::move(vertical_container_layout)); // children - RoundedSeparator* brave_button_separator_ = new RoundedSeparator(); - // TODO(petemill): theme color - brave_button_separator_->SetColor(SkColorSetRGB(0xb2, 0xb5, 0xb7)); - constexpr int kSeparatorMargin = 3; - constexpr int kSeparatorWidth = 1; - brave_button_separator_->SetPreferredSize( - gfx::Size(kSeparatorWidth + kSeparatorMargin * 2, - GetLayoutConstant(LOCATION_BAR_ICON_SIZE))); - // separator left & right margin - brave_button_separator_->SetBorder(views::CreateEmptyBorder( - gfx::Insets::TLBR(0, kSeparatorMargin, 0, kSeparatorMargin))); - // Just in case the extensions load before this function does (not likely!) - // make sure separator is at index 0 - AddChildViewAt(brave_button_separator_, 0); - AddActionViewForShields(); - AddActionViewForRewards(); + // RoundedSeparator* brave_button_separator_ = new RoundedSeparator(); + // // TODO(petemill): theme color + // brave_button_separator_->SetColor(SkColorSetRGB(0xb2, 0xb5, 0xb7)); + // constexpr int kSeparatorMargin = 3; + // constexpr int kSeparatorWidth = 1; + // brave_button_separator_->SetPreferredSize( + // gfx::Size(kSeparatorWidth + kSeparatorMargin * 2, + // GetLayoutConstant(LOCATION_BAR_ICON_SIZE))); + // // separator left & right margin + // brave_button_separator_->SetBorder(views::CreateEmptyBorder( + // gfx::Insets::TLBR(0, kSeparatorMargin, 0, kSeparatorMargin))); + // // Just in case the extensions load before this function does (not likely!) + // // make sure separator is at index 0 + // AddChildViewAt(brave_button_separator_, 0); + // AddActionViewForShields(); + // AddActionViewForRewards(); // React to Brave Rewards preferences changes. show_brave_rewards_button_.Init( diff --git a/components/brave_new_tab_ui/components/default/footer/footer.tsx b/components/brave_new_tab_ui/components/default/footer/footer.tsx index 121a8baf83b6..4ea131f90c1d 100644 --- a/components/brave_new_tab_ui/components/default/footer/footer.tsx +++ b/components/brave_new_tab_ui/components/default/footer/footer.tsx @@ -10,10 +10,10 @@ import { // IconButtonContainer, // IconButtonSideText, IconLink, - Label, - Link, + // Label, + // Link, Navigation, - PhotoName + // PhotoName } from '..' import * as S from '../page' @@ -40,17 +40,17 @@ export interface Props { export default class FooterInfo extends React.PureComponent { render () { - const { - // textDirection, - // supportsBraveTalk, - backgroundImageInfo, - showPhotoInfo, - // onClickSettings - } = this.props + // const { + // // textDirection, + // // supportsBraveTalk, + // backgroundImageInfo, + // showPhotoInfo, + // // onClickSettings + // } = this.props return ( <> - { showPhotoInfo && backgroundImageInfo?.type === 'brave' && + {/* { showPhotoInfo && backgroundImageInfo?.type === 'brave' && {`${getLocale('photoBy')} `} @@ -62,7 +62,7 @@ export default class FooterInfo extends React.PureComponent { } - } + } */} {/* diff --git a/components/brave_shields/resources/panel/brave_shields.html b/components/brave_shields/resources/panel/brave_shields.html index 4b90857be27d..bef472a165c3 100644 --- a/components/brave_shields/resources/panel/brave_shields.html +++ b/components/brave_shields/resources/panel/brave_shields.html @@ -1,4 +1,4 @@ - + diff --git a/script/generate_licenses.py b/script/generate_licenses.py index 864fdd84af85..c28e717aec19 100755 --- a/script/generate_licenses.py +++ b/script/generate_licenses.py @@ -233,12 +233,12 @@ def main(): 'background images used on the new tab page. The Brave Browser and ' \ 'such data files are separate and independent works.' - ntp_backgrounds = list_ntp_backgrounds( - os.path.join(ntp_data_dir, 'backgrounds.ts')) - if write_license_file(ntp_data_dir, generate_backgrounds_license( - ntp_backgrounds_preamble, ntp_backgrounds)): - print(f'- {len(ntp_backgrounds)} sub-components added in ' \ - 'brave_new_tab_ui/data/LICENSE') + # ntp_backgrounds = list_ntp_backgrounds( + # os.path.join(ntp_data_dir, 'backgrounds.ts')) + # if write_license_file(ntp_data_dir, generate_backgrounds_licens( + # ntp_backgrounds_preamble, ntp_backgrounds)): + # print(f'- {len(ntp_backgrounds)} sub-components added in ' \ + # 'brave_new_tab_ui/data/LICENSE') if __name__ == '__main__':