| 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 #include "chrome/browser/tab_contents/tab_contents.h" | 5 #include "chrome/browser/tab_contents/tab_contents.h" |
| 6 | 6 |
| 7 #if defined(OS_CHROMEOS) | 7 #if defined(OS_CHROMEOS) |
| 8 // For GdkScreen | 8 // For GdkScreen |
| 9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
| 10 #endif // defined(OS_CHROMEOS) | 10 #endif // defined(OS_CHROMEOS) |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 #include "chrome/common/chrome_switches.h" | 80 #include "chrome/common/chrome_switches.h" |
| 81 #include "chrome/common/extensions/extension.h" | 81 #include "chrome/common/extensions/extension.h" |
| 82 #include "chrome/common/extensions/extension_action.h" | 82 #include "chrome/common/extensions/extension_action.h" |
| 83 #include "chrome/common/extensions/extension_resource.h" | 83 #include "chrome/common/extensions/extension_resource.h" |
| 84 #include "chrome/common/extensions/url_pattern.h" | 84 #include "chrome/common/extensions/url_pattern.h" |
| 85 #include "chrome/common/navigation_types.h" | 85 #include "chrome/common/navigation_types.h" |
| 86 #include "chrome/common/net/url_request_context_getter.h" | 86 #include "chrome/common/net/url_request_context_getter.h" |
| 87 #include "chrome/common/notification_service.h" | 87 #include "chrome/common/notification_service.h" |
| 88 #include "chrome/common/pref_names.h" | 88 #include "chrome/common/pref_names.h" |
| 89 #include "chrome/common/render_messages.h" | 89 #include "chrome/common/render_messages.h" |
| 90 #include "chrome/common/render_messages_params.h" |
| 90 #include "chrome/common/renderer_preferences.h" | 91 #include "chrome/common/renderer_preferences.h" |
| 91 #include "chrome/common/url_constants.h" | 92 #include "chrome/common/url_constants.h" |
| 92 #include "grit/chromium_strings.h" | 93 #include "grit/chromium_strings.h" |
| 93 #include "grit/generated_resources.h" | 94 #include "grit/generated_resources.h" |
| 94 #include "grit/locale_settings.h" | 95 #include "grit/locale_settings.h" |
| 95 #include "grit/platform_locale_settings.h" | 96 #include "grit/platform_locale_settings.h" |
| 96 #include "grit/theme_resources.h" | 97 #include "grit/theme_resources.h" |
| 97 #include "net/base/mime_util.h" | 98 #include "net/base/mime_util.h" |
| 98 #include "net/base/net_errors.h" | 99 #include "net/base/net_errors.h" |
| 99 #include "net/base/net_util.h" | 100 #include "net/base/net_util.h" |
| (...skipping 3175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3275 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); | 3276 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); |
| 3276 } | 3277 } |
| 3277 | 3278 |
| 3278 Profile* TabContents::GetProfileForPasswordManager() { | 3279 Profile* TabContents::GetProfileForPasswordManager() { |
| 3279 return profile(); | 3280 return profile(); |
| 3280 } | 3281 } |
| 3281 | 3282 |
| 3282 bool TabContents::DidLastPageLoadEncounterSSLErrors() { | 3283 bool TabContents::DidLastPageLoadEncounterSSLErrors() { |
| 3283 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); | 3284 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); |
| 3284 } | 3285 } |
| OLD | NEW |