Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Search Engine changes #15

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

MasterK0927
Copy link
Collaborator

Changed the default search engine from Brave Search to Google Search for both private as well as normal search.

(In the settings page under search engine tab, in normal window Default search engine selector, Learn more hyperlink is still visible as this is coming from the chromium code)

@@ -25,7 +25,7 @@ namespace brave {

void SetBraveAsDefaultPrivateSearchProvider(PrefService* prefs) {
auto data = TemplateURLPrepopulateData::GetPrepopulatedEngine(
prefs, TemplateURLPrepopulateData::PREPOPULATED_ENGINE_ID_BRAVE);
prefs, TemplateURLPrepopulateData::PREPOPULATED_ENGINE_ID_GOOGLE);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this id is set as brave search so is private tab using brave search again now? please check

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, forgot to change that, my bad.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NHI bhaiya, its still the same for the pivate tab,

PREPOPULATED_ENGINE_ID_GOOGLE is google for the private tab

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ye change revert karke check karna ek baar

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked bhaiya, with my build

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert karke nahi chal rha kya?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checking bhaiya

@@ -31,4 +34,4 @@
pref="{{prefs.brave.other_search_engines_enabled}}"
label="$i18n{otherSearchEnginesControlLabel}"
sub-label="$i18n{otherSearchEnginesControlDesc}">
</settings-toggle-button>
</settings-toggle-button> -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where have commented the opening tag <settings-toggle-button>

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its with the if tag


<!-- commented the html structure code for the search engine page of the settings page. -->

<!-- <if expr="enable_extensions">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this tag is commented that wouldn't we need to comment the next line as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which tag bhaiya?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iske niche wala search-toggle-button

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didnt able to understand bhaiya, please provide more detail

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MasterK0927 MasterK0927 merged commit 50f1fac into ping-browser:main Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants