[cr147->146.0.7680.153] composebox_query.mojom types renamed.
Chromium change: https://source.chromium.org/chromium/chromium/src/+/f80ccaf67ace41e20ae2c895d68a3df44d5dc726 commit f80ccaf67ace41e20ae2c895d68a3df44d5dc726 Author: Bofeng Chen <bofengchen@google.com> Date: Tue Mar 3 07:46:56 2026 -0800 [Refactor] Rename File* to Context* for mojom enums This change renames the FileUploadStatus and FileUploadErrorType enums in composebox_query.mojom to ContextUploadStatus and ContextUploadErrorType, respectively. This is done to more accurately reflect that these enums are used for tracking the upload status and errors for both file and tab contexts. All affected code in the browser, webui, and tests has been updated to use the new enum names. Bug: 488378154
This commit is contained in:
@@ -8,7 +8,7 @@ import { AutocompleteResult, OmniboxPopupSelection, PageHandler, PageHandlerRemo
|
||||
import * as React from 'react';
|
||||
import getNTPBrowserAPI, { SearchEngineInfo } from '../../api/background';
|
||||
import { useEngineContext } from './EngineContext';
|
||||
import { FileUploadErrorType, FileUploadStatus } from 'gen/components/omnibox/composebox/composebox_query.mojom.m';
|
||||
import { ContextUploadErrorType, ContextUploadStatus } from 'gen/components/omnibox/composebox/composebox_query.mojom.m';
|
||||
import { InputState } from 'gen/ui/webui/resources/tsc/mojo/components/omnibox/composebox/composebox_query.mojom-webui';
|
||||
import { WindowOpenDisposition } from 'gen/ui/webui/resources/tsc/mojo/ui/base/mojom/window_open_disposition.mojom-webui';
|
||||
|
||||
@@ -78,7 +78,7 @@ class SearchPage implements PageInterface {
|
||||
onShow(): void { }
|
||||
setInputText(inputText: string) { }
|
||||
setThumbnail(thumbnailUrl: string) { }
|
||||
onContextualInputStatusChanged(token: string, status: FileUploadStatus, errorType: FileUploadErrorType | null) { }
|
||||
onContextualInputStatusChanged(token: string, status: ContextUploadStatus, errorType: ContextUploadErrorType | null) { }
|
||||
onTabStripChanged() { }
|
||||
addFileContext(token: string, fileInfo: SelectedFileInfo) { }
|
||||
setKeywordSelected(isKeywordSelected: boolean): void {}
|
||||
|
||||
Reference in New Issue
Block a user