0
Files
android_webview
apps
ash
base
build
build_overrides
buildtools
cc
chrome
chromecast
chromeos
codelabs
components
about_ui
access_code_cast
account_id
account_manager_core
aggregation_service
allocation_recorder
android_autofill
android_system_error_page
apdu
app_constants
app_restore
arc
arc_strings_grdp
assist_ranker
attribution_reporting
autofill
autofill_payments_strings_grdp
autofill_strings_grdp
back_forward_cache
background_fetch
background_sync
background_task_scheduler
base32
blocked_content
blocklist
bookmark_bar_strings_grdp
bookmark_component_strings_grdp
bookmarks
breadcrumbs
browser_sync
browser_ui
browsing_data
browsing_data_strings_grdp
browsing_topics
captive_portal
cast
cast_receiver
cast_streaming
cbor
cdm
certificate_matching
certificate_transparency
chrome_cleaner
chromeos_camera
client_hints
client_update_protocol
cloud_devices
commerce
commerce_strings_grdp
component_updater
components_chromium_strings_grd
components_google_chrome_strings_grd
components_strings_grd
consent_auditor
constrained_window
content_capture
content_creation
content_creation_strings_grdp
content_relationship_verification
content_settings
contextual_search
continuous_search
cookie_config
country_codes
crash
crash_strings_grdp
cronet
crx_file
custom_handlers
database_utils
dbus
desks_storage
device_event_log
device_reauth
device_signals
devtools
digital_goods
discardable_memory
dom_distiller
dom_distiller_strings_grdp
domain_reliability
download
drive
embedder_support
encrypted_messages
endpoint_fetcher
enterprise
enterprise_strings_grdp
error_page
error_page_strings_grdp
exo
external_intents
external_intents_strings_grdp
externalauth
favicon
favicon_base
feature_engagement
feed
feedback
file_access
filename_generation
find_in_page
flags_strings_grdp
flags_ui
fuchsia_component_support
fuchsia_legacymetrics
fullscreen_control
fullscreen_control_strings_grdp
gcm_driver
global_media_controls
global_media_controls_strings_grdp
google
grpc_support
guest_os
guest_view
gwp_asan
handoff
headless
heap_profiling
heavy_ad_intervention
heavy_ad_intervention_strings_grdp
history
history_clusters
history_clusters_strings_grdp
history_strings_grdp
image_fetcher
infobars
installedapp
invalidation
javascript_dialogs
javascript_dialogs_strings_grdp
js_injection
keep_alive_registry
keyed_service
language
lens
leveldb_proto
link_header_util
live_caption
live_caption_strings_grdp
local_state
location
login
lookalikes
management
management_ios_strings_grdp
management_strings_grdp
media_control
media_message_center
media_message_center_strings_grdp
media_router
memory_pressure
memory_system
messages
metal_util
metrics
metrics_services_manager
minidump_uploader
mirroring
ml
module_installer
nacl
named_mojo_ipc_server
navigation_interception
navigation_metrics
net_log
neterror
network_hints
network_session_configurator
network_time
new_or_sad_tab_strings_grdp
no_state_prefetch
ntp_snippets
ntp_tiles
offline_items_collection
offline_pages
omnibox
omnibox_pedal_ui_strings_grdp
omnibox_strings_grdp
on_load_script_injector
onc
open_from_clipboard
openscreen_platform
optimization_guide
origin_trials
os_crypt
ownership
page_image_annotation
page_image_service
page_info
page_info_strings_grdp
page_load_metrics
paint_preview
password_manager
password_manager_strings_grdp
payments
payments_strings_grdp
pdf
pdf_strings_grdp
performance_manager
permissions
permissions_strings_grdp
plugins
policy
policy_strings_grdp
power_bookmarks
power_metrics
power_monitor
power_scheduler
pref_registry
prefs
previous_session_info
print_media_strings_grdp
printing
printing_component_strings_grdp
privacy_sandbox
privacy_sandbox_strings_grdp
profile_metrics
proxy_config
pwg_encoder
qr_code_generator
query_parser
query_tiles
quirks
reading_list
reduce_accept_language
remote_cocoa
renderer_context_menu
reporting
reset_password_strings_grdp
resources
rlz
safe_browsing
safe_search_api
safety_check
saved_tab_groups
scheduling_metrics
schema_org
search
search_engines
search_provider_logos
security_interstitials
security_interstitials_strings_grdp
security_state
segmentation_platform
send_tab_to_self
send_tab_to_self_strings_grdp
services
session_manager
session_proto_db
sessions
shared_highlighting
signin
site_engagement
site_isolation
site_settings_strings_grdp
sms_strings_grdp
soda
speech
spellcheck
sqlite_proto
ssl_errors
ssl_errors_strings_grdp
stability_report
startup_metric_utils
storage_monitor
strictmode
strings
stylus_handwriting
subresource_filter
subresource_filter_strings_grdp
supervised_user
supervised_user_strings_grdp
sync
sync_bookmarks
sync_device_info
sync_preferences
sync_sessions
sync_ui_strings_grdp
sync_user_events
system_media_controls
tab_groups
tab_groups_strings_grdp
test
thin_webview
tracing
translate
translate_strings_grdp
trusted_vault
ui_devtools
ui_metrics
ukm
undo
undo_strings_grdp
unexportable_keys
unified_consent
update_client
upload_list
url_formatter
url_matcher
url_pattern_index
url_rewrite
user_actions_ui
user_education
user_education_strings_grdp
user_manager
user_notes
user_prefs
value_store
variations
vector_icons
version_info
version_ui
version_ui_strings_grdp
visitedlink
viz
web_app_resources
web_cache
web_modal
web_package
web_resource
webapk
webapps
webauthn
webcrypto
webdata
webdata_services
webrtc
webrtc_logging
webxr
webxr_strings_grdp
wifi
winhttp
zoom
zucchini
.eslintrc.js
BUILD.gn
DEPS
OWNERS
PRESUBMIT.py
README.md
android_system_error_page_strings.grdp
arc_strings.grdp
autofill_payments_strings.grdp
autofill_strings.grdp
blocked_content_strings.grdp
bookmark_bar_strings.grdp
bookmark_component_strings.grdp
browsing_data_strings.grdp
commerce_strings.grdp
components_chromium_strings.grd
components_google_chrome_strings.grd
components_locale_settings.grd
components_settings_strings.grdp
components_strings.grd
content_creation_strings.grdp
crash_strings.grdp
dialog_strings.grdp
dom_distiller_strings.grdp
enterprise_strings.grdp
error_page_strings.grdp
external_intents_strings.grdp
find_in_page_strings.grdp
flags_strings.grdp
fullscreen_control_strings.grdp
global_media_controls_strings.grdp
heavy_ad_intervention_strings.grdp
history_clusters_strings.grdp
history_strings.grdp
javascript_dialogs_strings.grdp
live_caption_strings.grdp
login_dialog_strings.grdp
management_ios_strings.grdp
management_strings.grdp
media_message_center_strings.grdp
new_or_sad_tab_strings.grdp
omnibox_pedal_ui_strings.grdp
omnibox_strings.grdp
page_info_strings.grdp
paint_preview_strings.grdp
password_manager_strings.grdp
payments_strings.grdp
pdf_strings.grdp
permissions_strings.grdp
policy_strings.grdp
print_media_strings.grdp
printing_component_strings.grdp
privacy_sandbox_strings.grdp
protocol_handler_strings.grdp
reset_password_strings.grdp
security_interstitials_strings.grdp
send_tab_to_self_strings.grdp
site_settings_strings.grdp
sms_strings.grdp
ssl_errors_strings.grdp
subresource_filter_strings.grdp
supervised_user_strings.grdp
sync_ui_strings.grdp
tab_groups_strings.grdp
translate_strings.grdp
undo_strings.grdp
user_education_strings.grdp
version_ui_strings.grdp
webapps_strings.grdp
webxr_strings.grdp
content
courgette
crypto
dbus
device
docs
extensions
fuchsia_web
gin
google_apis
google_update
gpu
headless
infra
ios
ipc
media
mojo
native_client_sdk
net
pdf
ppapi
printing
remoting
rlz
sandbox
services
skia
sql
storage
styleguide
testing
third_party
tools
ui
url
weblayer
.clang-format
.clang-tidy
.eslintrc.js
.git-blame-ignore-revs
.gitattributes
.gitignore
.gn
.mailmap
.rustfmt.toml
.vpython3
.yapfignore
ATL_OWNERS
AUTHORS
BUILD.gn
CODE_OF_CONDUCT.md
DEPS
DIR_METADATA
LICENSE
LICENSE.chromium_os
OWNERS
PRESUBMIT.py
PRESUBMIT_test.py
PRESUBMIT_test_mocks.py
README.md
WATCHLISTS
codereview.settings
src/components/dialog_strings.grdp
Evan Stade f43eaa53e5 Revert "WebLayer: add form repost confirmation dialog."
This reverts commit ce01fae55d.

Reason for revert: crbug.com/1062060

Original change's description:
> WebLayer: add form repost confirmation dialog.
> 
> The strings for the dialog are in //components/dialog_strings.grdp,
> and are included in components_strings.grd. This won't work for
> WebLayer because depending on that target pulls in too many other
> strings that aren't necessary. Rather than creating a new string
> target for three strings, these are included in
> //components/browser_ui/strings (Android-only) as well as
> components_strings.grd. The tag to output them into Java xml
> (formatter_data="android_java") is removed so they aren't included
> in Java twice. Even though the strings are included in two places now,
> the translation console should collapse the strings as the contents
> are the same, so they shouldn't need to be re-translated.
> 
> There's not a great place for the dialog controller code to live and
> be shared. Since it facilitates the implementation of the
> WebContentsDelegate, the most natural place would be
> //components/embedder_support/delegate, however that is used by
> WebView, so if the code lived there then it would pull additional
> strings into WebView. The code could live in //components/browser_ui
> somewhere, but it's not clear which subdir. Since the amount of code
> in question is pretty minimal, I opted to just duplicate a little
> into the //weblayer directly.
> 
> In order to cut down on some amount of duplication, this patch
> introduces ModalDialogProperties.SimpleConfirmationController which
> is a basic implementation of ModalDialogProperties.Controller that
> both repost confirmation dialogs now use. SimpleConfirmationController
> might also prove useful for many (most?) other clank tab modals, e.g.
> DownloadLocationDialogBridge.
> 
> Bug: 1058495
> Change-Id: I50f84008a1986e418c9ecc4ff2c9ce5dee71470f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096897
> Reviewed-by: Scott Violet <sky@chromium.org>
> Reviewed-by: Ted Choc <tedchoc@chromium.org>
> Commit-Queue: Evan Stade <estade@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#750318}

TBR=sky@chromium.org,estade@chromium.org,tedchoc@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 1058495
Change-Id: I5cc9599113a79750456a8caa09b365f6cee808b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106499
Reviewed-by: Evan Stade <estade@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750750}
2020-03-16 22:39:51 +00:00

14 lines
745 B
XML

<?xml version="1.0" encoding="utf-8"?>
<grit-part>
<!-- HTTP POST Warning -->
<message name="IDS_HTTP_POST_WARNING_TITLE" desc="Title for dialog that warns users about a navigation that results in a repost" formatter_data="android_java">
Confirm Form Resubmission
</message>
<message name="IDS_HTTP_POST_WARNING" desc="Re-navigation to page that leads to HTTP POST" formatter_data="android_java">
The page that you're looking for used information that you entered. Returning to that page might cause any action you took to be repeated. Do you want to continue?
</message>
<message name="IDS_HTTP_POST_WARNING_RESEND" desc="Resend button for post warning" formatter_data="android_java">
Continue
</message>
</grit-part>