OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "ios/chrome/browser/translate/before_translate_infobar_controller.h" | 5 #include "ios/chrome/browser/translate/before_translate_infobar_controller.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
8 | 9 |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
11 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
12 #include "components/translate/core/browser/translate_infobar_delegate.h" | 13 #include "components/translate/core/browser/translate_infobar_delegate.h" |
13 #include "grit/components_strings.h" | 14 #include "grit/components_strings.h" |
14 #include "ios/chrome/browser/translate/translate_infobar_tags.h" | 15 #include "ios/chrome/browser/translate/translate_infobar_tags.h" |
15 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" | 16 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" |
16 #import "ios/public/provider/chrome/browser/ui/infobar_view_delegate.h" | 17 #import "ios/public/provider/chrome/browser/ui/infobar_view_delegate.h" |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 [super removeView]; | 365 [super removeView]; |
365 [self dismissLanguageSelectionView]; | 366 [self dismissLanguageSelectionView]; |
366 } | 367 } |
367 | 368 |
368 - (void)detachView { | 369 - (void)detachView { |
369 [super detachView]; | 370 [super detachView]; |
370 [self dismissLanguageSelectionView]; | 371 [self dismissLanguageSelectionView]; |
371 } | 372 } |
372 | 373 |
373 @end | 374 @end |
OLD | NEW |