| 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 // 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 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/app/chrome_dll_resource.h" | 27 #include "chrome/app/chrome_dll_resource.h" |
| 28 #include "chrome/common/automation_messages.h" | 28 #include "chrome/common/automation_messages.h" |
| 29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
| 30 #include "chrome/test/automation/browser_proxy.h" | 30 #include "chrome/test/automation/browser_proxy.h" |
| 31 #include "chrome/test/automation/tab_proxy.h" | 31 #include "chrome/test/automation/tab_proxy.h" |
| 32 #include "chrome_frame/bho.h" | 32 #include "chrome_frame/bho.h" |
| 33 #include "chrome_frame/bind_context_info.h" | 33 #include "chrome_frame/bind_context_info.h" |
| 34 #include "chrome_frame/buggy_bho_handling.h" | 34 #include "chrome_frame/buggy_bho_handling.h" |
| 35 #include "chrome_frame/crash_reporting/crash_metrics.h" | 35 #include "chrome_frame/crash_reporting/crash_metrics.h" |
| 36 #include "chrome_frame/utils.h" | 36 #include "chrome_frame/utils.h" |
| 37 #include "content/browser/tab_contents/tab_contents.h" | |
| 38 #include "content/public/browser/invalidate_type.h" | 37 #include "content/public/browser/invalidate_type.h" |
| 38 #include "content/public/browser/web_contents.h" |
| 39 #include "content/public/common/page_zoom.h" | 39 #include "content/public/common/page_zoom.h" |
| 40 #include "grit/generated_resources.h" | 40 #include "grit/generated_resources.h" |
| 41 | 41 |
| 42 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, | 42 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, |
| 43 0x46); | 43 0x46); |
| 44 | 44 |
| 45 bool g_first_launch_by_process_ = true; | 45 bool g_first_launch_by_process_ = true; |
| 46 | 46 |
| 47 const DWORD kIEEncodingIdArray[] = { | 47 const DWORD kIEEncodingIdArray[] = { |
| 48 #define DEFINE_ENCODING_ID_ARRAY(encoding_name, id, chrome_name) encoding_name, | 48 #define DEFINE_ENCODING_ID_ARRAY(encoding_name, id, chrome_name) encoding_name, |
| (...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1405 return true; | 1405 return true; |
| 1406 | 1406 |
| 1407 if (new_navigation_info.url != navigation_info_->url) | 1407 if (new_navigation_info.url != navigation_info_->url) |
| 1408 return true; | 1408 return true; |
| 1409 | 1409 |
| 1410 if (new_navigation_info.referrer != navigation_info_->referrer) | 1410 if (new_navigation_info.referrer != navigation_info_->referrer) |
| 1411 return true; | 1411 return true; |
| 1412 | 1412 |
| 1413 return false; | 1413 return false; |
| 1414 } | 1414 } |
| OLD | NEW |