| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h" | 5 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| 9 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
| 10 #include "chrome/browser/translate/chrome_translate_client.h" | 12 #include "chrome/browser/translate/chrome_translate_client.h" |
| 11 #import "chrome/browser/ui/cocoa/hover_close_button.h" | 13 #import "chrome/browser/ui/cocoa/hover_close_button.h" |
| 12 #include "chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.h" | 14 #include "chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.h" |
| 13 #import "chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h" | 15 #import "chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h" |
| 14 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h" | 16 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h" |
| 15 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h" | 17 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h" |
| 16 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h" | 18 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h" |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 [[control description] UTF8String] <<[title UTF8String]; | 552 [[control description] UTF8String] <<[title UTF8String]; |
| 551 return false; | 553 return false; |
| 552 } | 554 } |
| 553 previousControl = control; | 555 previousControl = control; |
| 554 } | 556 } |
| 555 | 557 |
| 556 return true; | 558 return true; |
| 557 } | 559 } |
| 558 | 560 |
| 559 @end // TranslateInfoBarControllerBase (TestingAPI) | 561 @end // TranslateInfoBarControllerBase (TestingAPI) |
| OLD | NEW |