#include "chrome/browser/ui/translate_browser_action_listener.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/actions/chrome_action_id.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_actions.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "components/translate/core/browser/language_state.h"
#include "ui/actions/action_id.h"
#include "ui/actions/actions.h"
TranslateBrowserActionListener::TranslateBrowserActionListener(Browser& browser)
: … { … }
TranslateBrowserActionListener::~TranslateBrowserActionListener() { … }
void TranslateBrowserActionListener::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }
void TranslateBrowserActionListener::AddTranslationObserver(
content::WebContents* web_contents) { … }
void TranslateBrowserActionListener::RemoveTranslationObserver(
content::WebContents* web_contents) { … }
void TranslateBrowserActionListener::OnIsPageTranslatedChanged(
content::WebContents* source) { … }