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> |
11 #include <mshtmcid.h> | 11 #include <mshtmcid.h> |
12 #include <shdeprecated.h> | 12 #include <shdeprecated.h> |
13 #include <shlguid.h> | 13 #include <shlguid.h> |
14 #include <shlobj.h> | 14 #include <shlobj.h> |
15 #include <shobjidl.h> | 15 #include <shobjidl.h> |
16 #include <tlogstg.h> | 16 #include <tlogstg.h> |
17 #include <urlmon.h> | 17 #include <urlmon.h> |
18 #include <wininet.h> | 18 #include <wininet.h> |
19 | 19 |
20 #include "base/command_line.h" | 20 #include "base/command_line.h" |
21 #include "base/debug/trace_event.h" | 21 #include "base/debug/trace_event.h" |
22 #include "base/file_util.h" | 22 #include "base/file_util.h" |
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/threading/thread.h" |
29 #include "base/threading/thread_local.h" | 29 #include "base/threading/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 "base/win/win_util.h" | 32 #include "base/win/win_util.h" |
33 #include "grit/generated_resources.h" | 33 #include "grit/generated_resources.h" |
34 #include "chrome/app/chrome_command_ids.h" | 34 #include "chrome/app/chrome_command_ids.h" |
35 #include "chrome/app/chrome_dll_resource.h" | 35 #include "chrome/app/chrome_dll_resource.h" |
36 #include "chrome/common/chrome_constants.h" | 36 #include "chrome/common/chrome_constants.h" |
37 #include "chrome/common/navigation_types.h" | 37 #include "chrome/common/navigation_types.h" |
38 #include "chrome/common/page_zoom.h" | 38 #include "chrome/common/page_zoom.h" |
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1383 return true; | 1383 return true; |
1384 | 1384 |
1385 if (new_navigation_info.url != navigation_info_.url) | 1385 if (new_navigation_info.url != navigation_info_.url) |
1386 return true; | 1386 return true; |
1387 | 1387 |
1388 if (new_navigation_info.referrer != navigation_info_.referrer) | 1388 if (new_navigation_info.referrer != navigation_info_.referrer) |
1389 return true; | 1389 return true; |
1390 | 1390 |
1391 return false; | 1391 return false; |
1392 } | 1392 } |
OLD | NEW |