diff options
author | droger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-02 16:01:29 +0000 |
---|---|---|
committer | droger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-02 16:01:29 +0000 |
commit | dbe9bfab6e9b264b1b339e8c1c422f0b5dfa2a6c (patch) | |
tree | e644b6d42f97c38a12541ac8a2f13fcb849725fe /components/infobars.gypi | |
parent | 603ed1e862e48615acadc96724749529487f8947 (diff) | |
download | chromium_src-dbe9bfab6e9b264b1b339e8c1c422f0b5dfa2a6c.zip chromium_src-dbe9bfab6e9b264b1b339e8c1c422f0b5dfa2a6c.tar.gz chromium_src-dbe9bfab6e9b264b1b339e8c1c422f0b5dfa2a6c.tar.bz2 |
Move TranslateInfoBarDelegate and OptionsMenuModel to the Translate component.
To solve the dependency on chrome_command_ids, this CL removes the
IDC_OPTIONS_TRANSLATE_* constants and instead defines the command IDs
locally in the file, which is an approach already used at several other places in
the code.
To solve the dependency on themes, the icon ID for the translate infobar is no
longer hardcoded, but fetched from the translate client instead.
BUG=371845
TBR=estade, joaodasilva
Review URL: https://codereview.chromium.org/284313008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/infobars.gypi')
-rw-r--r-- | components/infobars.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/infobars.gypi b/components/infobars.gypi index 07522b9..cb9c2b1 100644 --- a/components/infobars.gypi +++ b/components/infobars.gypi @@ -21,6 +21,7 @@ 'infobars/core/confirm_infobar_delegate.h', 'infobars/core/infobar.cc', 'infobars/core/infobar.h', + 'infobars/core/infobar_android.cc', 'infobars/core/infobar_container.cc', 'infobars/core/infobar_container.h', 'infobars/core/infobar_delegate.cc', |