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

Side by Side Diff: chrome_frame/chrome_active_document.cc

Issue 9382039: Enforce that chrome_frame only uses content through its API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/DEPS ('k') | no next file » | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « chrome_frame/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698