Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: chrome/browser/ui/views/translate/translate_bubble_view.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/browser/ui/views/translate/translate_bubble_view.h" 5 #include "chrome/browser/ui/views/translate/translate_bubble_view.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/i18n/string_compare.h" 13 #include "base/i18n/string_compare.h"
12 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
13 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
14 #include "base/prefs/pref_service.h" 16 #include "base/prefs/pref_service.h"
15 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
16 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 base::string16 label; 756 base::string16 label;
755 if (model_->IsPageTranslatedInCurrentLanguages()) 757 if (model_->IsPageTranslatedInCurrentLanguages())
756 label = l10n_util::GetStringUTF16(IDS_DONE); 758 label = l10n_util::GetStringUTF16(IDS_DONE);
757 else 759 else
758 label = l10n_util::GetStringUTF16(IDS_TRANSLATE_BUBBLE_ACCEPT); 760 label = l10n_util::GetStringUTF16(IDS_TRANSLATE_BUBBLE_ACCEPT);
759 advanced_done_button_->SetText(label); 761 advanced_done_button_->SetText(label);
760 advanced_done_button_->SizeToPreferredSize(); 762 advanced_done_button_->SizeToPreferredSize();
761 if (advanced_view_) 763 if (advanced_view_)
762 advanced_view_->Layout(); 764 advanced_view_->Layout();
763 } 765 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698