diff options
author | imcheng <imcheng@google.com> | 2015-06-16 15:18:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-16 22:19:24 +0000 |
commit | b3ec4d4af16df1575e36cc80b784db5ed7f9f6cc (patch) | |
tree | 5ca4cc745a45e6a7cb4c1233c1dcb60e465c7878 /chrome/app/media_router_strings.grdp | |
parent | e6fabf10ffdd14af952a9fc0182a8ffef3cd5825 (diff) | |
download | chromium_src-b3ec4d4af16df1575e36cc80b784db5ed7f9f6cc.zip chromium_src-b3ec4d4af16df1575e36cc80b784db5ed7f9f6cc.tar.gz chromium_src-b3ec4d4af16df1575e36cc80b784db5ed7f9f6cc.tar.bz2 |
[Media Router] Add Issues handling in WebUI Message Handler.
This patch consists of:
- new string resources for Issues action button labels.
- convert IssuesObserver from interface to a base class to be consistent
with Media{Sinks,Routes}Observer classes.
- rename {Add,Remove}IssuesObserver to [Un]RegisterIssuesObserver.
- add initiator WebContents field to MediaRouterUI. Note that this will
be set to a non-null value during InitCommon() (crrev.com/1156373014).
- add Issue handling (OnActOnIssue) in WebUI MessageHandler. For the
"Learn more" action, open a Chromecast help page with the supplied page
ID (which comes from WebUI).
- various cleanup/renaming of the function names in WebUI/C++ interfaces
for consistency.
BUG=464216
Review URL: https://codereview.chromium.org/1161113003
Cr-Commit-Position: refs/heads/master@{#334713}
Diffstat (limited to 'chrome/app/media_router_strings.grdp')
-rw-r--r-- | chrome/app/media_router_strings.grdp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/app/media_router_strings.grdp b/chrome/app/media_router_strings.grdp index cfe94d1..48ed0ab 100644 --- a/chrome/app/media_router_strings.grdp +++ b/chrome/app/media_router_strings.grdp @@ -37,6 +37,20 @@ Select cast mode </message> + <!-- Issue Actions --> + <message name="IDS_MEDIA_ROUTER_CANCEL_BUTTON" desc="Text of Cancel button."> + Cancel + </message> + <message name="IDS_MEDIA_ROUTER_DISMISS_BUTTON" desc="Text of Dismiss button."> + Dismiss + </message> + <message name="IDS_MEDIA_ROUTER_LEARN_MORE_BUTTON" desc="Text of Learn More button."> + Learn More + </message> + <message name="IDS_MEDIA_ROUTER_OK_BUTTON" desc="Text of Ok button."> + Ok + </message> + <!-- Route Details --> <message name="IDS_MEDIA_ROUTER_BACK_TO_SINK_PICKER" desc="Label of back to sink picker button."> Back to device list |