Index: chrome/browser/ui/cocoa/browser_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm |
index 5f0a158e0a8e55db4e42b29bb8cebb72fa6014f0..2d5cd68e49e76e6dcfba2223ad5cb5ce022adc1b 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm |
@@ -1751,7 +1751,8 @@ using web_modal::WebContentsModalDialogManager; |
- (void)showTranslateBubbleForWebContents:(content::WebContents*)contents |
step:(translate::TranslateStep)step |
- errorType:(TranslateErrors::Type)errorType { |
+ errorType:(translate::TranslateErrors::Type) |
+ errorType { |
droger
2014/07/09 07:52:43
Is this the indentation given by the auto-formatte
nshaik
2014/07/09 08:56:51
Yes.
|
// TODO(hajimehoshi): The similar logic exists at TranslateBubbleView:: |
// ShowBubble. This should be unified. |
if (translateBubbleController_) { |
@@ -1777,10 +1778,12 @@ using web_modal::WebContentsModalDialogManager; |
ChromeTranslateClient::GetTranslateLanguages( |
contents, &sourceLanguage, &targetLanguage); |
- scoped_ptr<TranslateUIDelegate> uiDelegate(new TranslateUIDelegate( |
- ChromeTranslateClient::GetManagerFromWebContents(contents)->GetWeakPtr(), |
- sourceLanguage, |
- targetLanguage)); |
+ scoped_ptr<translate::TranslateUIDelegate> uiDelegate( |
+ new translate::TranslateUIDelegate( |
+ ChromeTranslateClient::GetManagerFromWebContents(contents) |
+ ->GetWeakPtr(), |
+ sourceLanguage, |
+ targetLanguage)); |
scoped_ptr<TranslateBubbleModel> model( |
new TranslateBubbleModelImpl(step, uiDelegate.Pass())); |
translateBubbleController_ = [[TranslateBubbleController alloc] |