OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/dom_ui/options/certificate_manager_handler.h" | 5 #include "chrome/browser/dom_ui/options/certificate_manager_handler.h" |
6 | 6 |
7 #include "base/file_util.h" // for FileAccessProvider | 7 #include "base/file_util.h" // for FileAccessProvider |
8 #include "base/safe_strerror_posix.h" | 8 #include "base/safe_strerror_posix.h" |
9 #include "base/scoped_vector.h" | 9 #include "base/scoped_vector.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 StringValue error_value(error); | 929 StringValue error_value(error); |
930 web_ui_->CallJavascriptFunction(L"CertificateImportErrorOverlay.show", | 930 web_ui_->CallJavascriptFunction(L"CertificateImportErrorOverlay.show", |
931 title_value, | 931 title_value, |
932 error_value, | 932 error_value, |
933 cert_error_list); | 933 cert_error_list); |
934 } | 934 } |
935 | 935 |
936 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { | 936 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { |
937 return web_ui_->tab_contents()->view()->GetTopLevelNativeWindow(); | 937 return web_ui_->tab_contents()->view()->GetTopLevelNativeWindow(); |
938 } | 938 } |
OLD | NEW |