| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 #import "chrome/browser/ui/cocoa/translate/translate_infobar_base.h" | 6 #import "chrome/browser/ui/cocoa/translate/translate_infobar_base.h" |
| 7 | 7 |
| 8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/mac_util.h" | |
| 11 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 12 #include "base/sys_string_conversions.h" | 11 #include "base/sys_string_conversions.h" |
| 13 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
| 14 #include "chrome/browser/translate/translate_infobar_delegate.h" | 13 #include "chrome/browser/translate/translate_infobar_delegate.h" |
| 15 #import "chrome/browser/ui/cocoa/hover_close_button.h" | 14 #import "chrome/browser/ui/cocoa/hover_close_button.h" |
| 16 #include "chrome/browser/ui/cocoa/infobar.h" | 15 #include "chrome/browser/ui/cocoa/infobar.h" |
| 17 #import "chrome/browser/ui/cocoa/infobar_controller.h" | 16 #import "chrome/browser/ui/cocoa/infobar_controller.h" |
| 18 #import "chrome/browser/ui/cocoa/infobar_gradient_view.h" | 17 #import "chrome/browser/ui/cocoa/infobar_gradient_view.h" |
| 19 #include "chrome/browser/ui/cocoa/translate/after_translate_infobar_controller.h
" | 18 #include "chrome/browser/ui/cocoa/translate/after_translate_infobar_controller.h
" |
| 20 #import "chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.h
" | 19 #import "chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.h
" |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 return false; | 632 return false; |
| 634 } | 633 } |
| 635 previousControl = control; | 634 previousControl = control; |
| 636 } | 635 } |
| 637 | 636 |
| 638 return true; | 637 return true; |
| 639 } | 638 } |
| 640 | 639 |
| 641 @end // TranslateInfoBarControllerBase (TestingAPI) | 640 @end // TranslateInfoBarControllerBase (TestingAPI) |
| 642 | 641 |
| OLD | NEW |