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) |
11 | 11 |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
14 #if defined(OS_MACOSX) | 14 #if defined(OS_MACOSX) |
15 #include "app/surface/io_surface_support_mac.h" | 15 #include "app/surface/io_surface_support_mac.h" |
16 #endif | 16 #endif |
17 #include "app/text_elider.h" | 17 #include "app/text_elider.h" |
18 #include "base/auto_reset.h" | 18 #include "base/auto_reset.h" |
19 #include "base/file_version_info.h" | 19 #include "base/file_version_info.h" |
| 20 #include "base/histogram.h" |
20 #include "base/i18n/rtl.h" | 21 #include "base/i18n/rtl.h" |
21 #include "base/process_util.h" | 22 #include "base/process_util.h" |
22 #include "base/string16.h" | 23 #include "base/string16.h" |
23 #include "base/string_util.h" | 24 #include "base/string_util.h" |
24 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
25 #include "base/time.h" | 26 #include "base/time.h" |
26 #include "chrome/browser/autocomplete_history_manager.h" | 27 #include "chrome/browser/autocomplete_history_manager.h" |
27 #include "chrome/browser/autofill/autofill_manager.h" | 28 #include "chrome/browser/autofill/autofill_manager.h" |
28 #include "chrome/browser/blocked_plugin_manager.h" | 29 #include "chrome/browser/blocked_plugin_manager.h" |
29 #include "chrome/browser/blocked_popup_container.h" | 30 #include "chrome/browser/blocked_popup_container.h" |
(...skipping 3265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3295 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); | 3296 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); |
3296 } | 3297 } |
3297 | 3298 |
3298 Profile* TabContents::GetProfileForPasswordManager() { | 3299 Profile* TabContents::GetProfileForPasswordManager() { |
3299 return profile(); | 3300 return profile(); |
3300 } | 3301 } |
3301 | 3302 |
3302 bool TabContents::DidLastPageLoadEncounterSSLErrors() { | 3303 bool TabContents::DidLastPageLoadEncounterSSLErrors() { |
3303 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); | 3304 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); |
3304 } | 3305 } |
OLD | NEW |