Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: chrome_frame/chrome_active_document.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/cfproxy.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 17 matching lines...) Expand all
28 #include "base/threading/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/automation_messages.h" 36 #include "chrome/common/automation_messages.h"
37 #include "chrome/common/chrome_constants.h" 37 #include "chrome/common/chrome_constants.h"
38 #include "chrome/common/navigation_types.h"
39 #include "chrome/common/page_zoom.h"
40 #include "chrome/test/automation/browser_proxy.h" 38 #include "chrome/test/automation/browser_proxy.h"
41 #include "chrome/test/automation/tab_proxy.h" 39 #include "chrome/test/automation/tab_proxy.h"
42 #include "chrome_frame/bho.h" 40 #include "chrome_frame/bho.h"
43 #include "chrome_frame/bind_context_info.h" 41 #include "chrome_frame/bind_context_info.h"
44 #include "chrome_frame/buggy_bho_handling.h" 42 #include "chrome_frame/buggy_bho_handling.h"
45 #include "chrome_frame/crash_reporting/crash_metrics.h" 43 #include "chrome_frame/crash_reporting/crash_metrics.h"
46 #include "chrome_frame/utils.h" 44 #include "chrome_frame/utils.h"
47 #include "content/browser/tab_contents/tab_contents.h" 45 #include "content/browser/tab_contents/tab_contents.h"
46 #include "content/common/navigation_types.h"
47 #include "content/common/page_zoom.h"
48 48
49 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, 49 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0,
50 0x46); 50 0x46);
51 51
52 base::ThreadLocalPointer<ChromeActiveDocument> g_active_doc_cache; 52 base::ThreadLocalPointer<ChromeActiveDocument> g_active_doc_cache;
53 53
54 bool g_first_launch_by_process_ = true; 54 bool g_first_launch_by_process_ = true;
55 55
56 const DWORD kIEEncodingIdArray[] = { 56 const DWORD kIEEncodingIdArray[] = {
57 #define DEFINE_ENCODING_ID_ARRAY(encoding_name, id, chrome_name) encoding_name, 57 #define DEFINE_ENCODING_ID_ARRAY(encoding_name, id, chrome_name) encoding_name,
(...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 return true; 1409 return true;
1410 1410
1411 if (new_navigation_info.url != navigation_info_->url) 1411 if (new_navigation_info.url != navigation_info_->url)
1412 return true; 1412 return true;
1413 1413
1414 if (new_navigation_info.referrer != navigation_info_->referrer) 1414 if (new_navigation_info.referrer != navigation_info_->referrer)
1415 return true; 1415 return true;
1416 1416
1417 return false; 1417 return false;
1418 } 1418 }
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698