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

chore: bump chromium to 124.0.6323.0 (main) #41412

Merged
merged 23 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e8acb3a
chore: bump chromium in DEPS to 124.0.6315.0
electron-roller[bot] Feb 22, 2024
c688997
chore: update patches
jkleinsc Feb 22, 2024
2647f9e
5279678: Stream AIDA responses
jkleinsc Feb 22, 2024
70fff23
5276439: Remove non_network_url_loader_factory_remotes_
jkleinsc Feb 22, 2024
399dddb
5310165: Add DevTools API to show search results
jkleinsc Feb 22, 2024
3643da3
chore: bump chromium in DEPS to 124.0.6317.0
electron-roller[bot] Feb 23, 2024
88adc5a
chore: update patches
jkleinsc Feb 23, 2024
84abfba
Remove Setup.Install.CumulativeDiskUsage2 and supporting code
jkleinsc Feb 23, 2024
a83c652
browser: Make cmd line non-const in process singleton callback
jkleinsc Feb 23, 2024
b472d2c
chore: bump chromium in DEPS to 124.0.6319.0
electron-roller[bot] Feb 24, 2024
495d04e
chore: bump chromium in DEPS to 124.0.6321.0
electron-roller[bot] Feb 25, 2024
60ef2ab
chore: bump chromium in DEPS to 124.0.6323.0
electron-roller[bot] Feb 26, 2024
8e43cac
5318335: Roll src/third_party/boringssl/src 23824fa0f..4fe29ebc7
codebytere Feb 26, 2024
edb920e
5318051: [CBE Watermarking] Hoist `watermark_view` to a member variable.
codebytere Feb 26, 2024
e0e0970
chore: fixup patch indices
codebytere Feb 26, 2024
5a6f194
4946553: Delegate HID permission to Chrome App in webview
codebytere Feb 26, 2024
e24a368
5310001: DevTools UI binding for reporting client events to AIDA
codebytere Feb 26, 2024
8573043
[libc++] Refactor the predicate taking variant of `__cxx_atomic_wait`
codebytere Feb 26, 2024
d4e12c4
chore: fix browser_view patch harder
codebytere Feb 26, 2024
691131b
5293937: Reland "[gUM] Use preferred device if more than one is eligi…
codebytere Feb 27, 2024
02b0d01
fix: filter {video|audio} devices by eligible device id
codebytere Feb 27, 2024
2f0c163
5267921: enable speak content under the pointer on PWA and WV2
codebytere Feb 27, 2024
1bb9fe2
5310195: heap: Remove Blink's GCTaskRunner
codebytere Feb 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
5310165: Add DevTools API to show search results
  • Loading branch information
jkleinsc authored and codebytere committed Feb 28, 2024
commit 399dddb08d53d8f850e3ee77b3165e25e746b01c
9 changes: 9 additions & 0 deletions docs/api/web-contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,15 @@ Returns:

Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for a link in its context menu.

#### Event: 'devtools-search-query'

Returns:

* `event` Event
* `query` string - text to query for.

Emitted when 'Search' is selected for text in its context menu.

#### Event: 'devtools-opened'

Emitted when DevTools is opened.
Expand Down
9 changes: 9 additions & 0 deletions docs/api/webview-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,15 @@ Returns:

Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for a link in its context menu.

#### Event: 'devtools-search-query'

Returns:

* `event` Event
* `query` string - text to query for.

Emitted when 'Search' is selected for text in its context menu.

### Event: 'devtools-opened'

Emitted when DevTools is opened.
Expand Down
4 changes: 4 additions & 0 deletions shell/browser/api/electron_api_web_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4152,6 +4152,10 @@ void WebContents::DevToolsOpenInNewTab(const std::string& url) {
Emit("devtools-open-url", url);
}

void WebContents::DevToolsOpenSearchResultsInNewTab(const std::string& query) {
Emit("devtools-search-query", query);
}

void WebContents::DevToolsSearchInPath(int request_id,
const std::string& file_system_path,
const std::string& query) {
Expand Down
1 change: 1 addition & 0 deletions shell/browser/api/electron_api_web_contents.h
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ class WebContents : public ExclusiveAccessContext,
const std::string& file_system_path,
const std::string& excluded_folders_message) override;
void DevToolsOpenInNewTab(const std::string& url) override;
void DevToolsOpenSearchResultsInNewTab(const std::string& query) override;
void DevToolsStopIndexing(int request_id) override;
void DevToolsSearchInPath(int request_id,
const std::string& file_system_path,
Expand Down
6 changes: 6 additions & 0 deletions shell/browser/ui/inspectable_web_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,12 @@ void InspectableWebContents::OpenInNewTab(const std::string& url) {
delegate_->DevToolsOpenInNewTab(url);
}

void InspectableWebContents::OpenSearchResultsInNewTab(
const std::string& query) {
if (delegate_)
delegate_->DevToolsOpenSearchResultsInNewTab(query);
}

void InspectableWebContents::ShowItemInFolder(
const std::string& file_system_path) {
if (file_system_path.empty())
Expand Down
1 change: 1 addition & 0 deletions shell/browser/ui/inspectable_web_contents.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class InspectableWebContents
int stream_id) override;
void SetIsDocked(DispatchCallback callback, bool is_docked) override;
void OpenInNewTab(const std::string& url) override;
void OpenSearchResultsInNewTab(const std::string& query) override;
void ShowItemInFolder(const std::string& file_system_path) override;
void SaveToFile(const std::string& url,
const std::string& content,
Expand Down
1 change: 1 addition & 0 deletions shell/browser/ui/inspectable_web_contents_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class InspectableWebContentsDelegate {
const std::string& file_system_path,
const std::string& excluded_folders) {}
virtual void DevToolsOpenInNewTab(const std::string& url) {}
virtual void DevToolsOpenSearchResultsInNewTab(const std::string& query) {}
virtual void DevToolsStopIndexing(int request_id) {}
virtual void DevToolsSearchInPath(int request_id,
const std::string& file_system_path,
Expand Down