| 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 // Implementation of ChromeActiveDocument | 5 // Implementation of ChromeActiveDocument |
| 6 #include "chrome_frame/chrome_active_document.h" | 6 #include "chrome_frame/chrome_active_document.h" |
| 7 | 7 |
| 8 #include <hlink.h> | 8 #include <hlink.h> |
| 9 #include <htiface.h> | 9 #include <htiface.h> |
| 10 #include <initguid.h> | 10 #include <initguid.h> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "base/logging.h" | 23 #include "base/logging.h" |
| 24 #include "base/path_service.h" | 24 #include "base/path_service.h" |
| 25 #include "base/process_util.h" | 25 #include "base/process_util.h" |
| 26 #include "base/string_tokenizer.h" | 26 #include "base/string_tokenizer.h" |
| 27 #include "base/string_util.h" | 27 #include "base/string_util.h" |
| 28 #include "base/thread.h" | 28 #include "base/thread.h" |
| 29 #include "base/thread_local.h" | 29 #include "base/thread_local.h" |
| 30 #include "base/utf_string_conversions.h" | 30 #include "base/utf_string_conversions.h" |
| 31 #include "base/win/scoped_variant.h" | 31 #include "base/win/scoped_variant.h" |
| 32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
| 33 #include "chrome/app/chrome_dll_resource.h" | 33 #include "chrome/app/chrome_command_ids.h" |
| 34 #include "chrome/browser/tab_contents/tab_contents.h" | 34 #include "chrome/browser/tab_contents/tab_contents.h" |
| 35 #include "chrome/common/chrome_constants.h" | 35 #include "chrome/common/chrome_constants.h" |
| 36 #include "chrome/common/navigation_types.h" | 36 #include "chrome/common/navigation_types.h" |
| 37 #include "chrome/common/page_zoom.h" | 37 #include "chrome/common/page_zoom.h" |
| 38 #include "chrome/test/automation/browser_proxy.h" | 38 #include "chrome/test/automation/browser_proxy.h" |
| 39 #include "chrome/test/automation/tab_proxy.h" | 39 #include "chrome/test/automation/tab_proxy.h" |
| 40 #include "chrome_frame/bho.h" | 40 #include "chrome_frame/bho.h" |
| 41 #include "chrome_frame/bind_context_info.h" | 41 #include "chrome_frame/bind_context_info.h" |
| 42 #include "chrome_frame/buggy_bho_handling.h" | 42 #include "chrome_frame/buggy_bho_handling.h" |
| 43 #include "chrome_frame/crash_reporting/crash_metrics.h" | 43 #include "chrome_frame/crash_reporting/crash_metrics.h" |
| (...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1332 | 1332 |
| 1333 if (new_navigation_info.url != navigation_info_.url) | 1333 if (new_navigation_info.url != navigation_info_.url) |
| 1334 return true; | 1334 return true; |
| 1335 | 1335 |
| 1336 if (new_navigation_info.referrer != navigation_info_.referrer) | 1336 if (new_navigation_info.referrer != navigation_info_.referrer) |
| 1337 return true; | 1337 return true; |
| 1338 | 1338 |
| 1339 return false; | 1339 return false; |
| 1340 } | 1340 } |
| 1341 | 1341 |
| OLD | NEW |