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

Side by Side Diff: chrome_frame/utils.cc

Issue 3053008: Second attempt at trying to land buggy bho avoidance: http://codereview.chrom... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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/utils.h ('k') | chrome_frame/vtable_patch_manager.cc » ('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 #include <htiframe.h> 5 #include <htiframe.h>
6 #include <mshtml.h> 6 #include <mshtml.h>
7 #include <shlobj.h> 7 #include <shlobj.h>
8 #include <wininet.h> 8 #include <wininet.h>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 30 matching lines...) Expand all
41 const wchar_t kBodyTag[] = L"body"; 41 const wchar_t kBodyTag[] = L"body";
42 const wchar_t kChromeContentPrefix[] = L"chrome="; 42 const wchar_t kChromeContentPrefix[] = L"chrome=";
43 const wchar_t kChromeProtocolPrefix[] = L"gcf:"; 43 const wchar_t kChromeProtocolPrefix[] = L"gcf:";
44 const wchar_t kChromeMimeType[] = L"application/chromepage"; 44 const wchar_t kChromeMimeType[] = L"application/chromepage";
45 const wchar_t kPatchProtocols[] = L"PatchProtocols"; 45 const wchar_t kPatchProtocols[] = L"PatchProtocols";
46 46
47 static const wchar_t kChromeFrameConfigKey[] = 47 static const wchar_t kChromeFrameConfigKey[] =
48 L"Software\\Google\\ChromeFrame"; 48 L"Software\\Google\\ChromeFrame";
49 static const wchar_t kChromeFrameOptinUrlsKey[] = L"OptinUrls"; 49 static const wchar_t kChromeFrameOptinUrlsKey[] = L"OptinUrls";
50 static const wchar_t kEnableGCFProtocol[] = L"EnableGCFProtocol"; 50 static const wchar_t kEnableGCFProtocol[] = L"EnableGCFProtocol";
51 static const wchar_t kEnableBuggyBhoIntercept[] = L"EnableBuggyBhoIntercept";
51 52
52 static const wchar_t kChromeFrameNPAPIKey[] = 53 static const wchar_t kChromeFrameNPAPIKey[] =
53 L"Software\\MozillaPlugins\\@google.com/ChromeFrame,version=1.0"; 54 L"Software\\MozillaPlugins\\@google.com/ChromeFrame,version=1.0";
54 static const wchar_t kChromeFramePersistNPAPIReg[] = L"PersistNPAPIReg"; 55 static const wchar_t kChromeFramePersistNPAPIReg[] = L"PersistNPAPIReg";
55 56
56 // Used to isolate chrome frame builds from google chrome release channels. 57 // Used to isolate chrome frame builds from google chrome release channels.
57 const wchar_t kChromeFrameOmahaSuffix[] = L"-cf"; 58 const wchar_t kChromeFrameOmahaSuffix[] = L"-cf";
58 const wchar_t kDevChannelName[] = L"-dev"; 59 const wchar_t kDevChannelName[] = L"-dev";
59 60
60 const wchar_t kChromeAttachExternalTabPrefix[] = L"attach_external_tab"; 61 const wchar_t kChromeAttachExternalTabPrefix[] = L"attach_external_tab";
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 1293
1293 if (tokenizer.GetNext()) { 1294 if (tokenizer.GetNext()) {
1294 dimensions->set_height(_wtoi(tokenizer.token().c_str())); 1295 dimensions->set_height(_wtoi(tokenizer.token().c_str()));
1295 } else { 1296 } else {
1296 return false; 1297 return false;
1297 } 1298 }
1298 1299
1299 return true; 1300 return true;
1300 } 1301 }
1301 1302
OLDNEW
« no previous file with comments | « chrome_frame/utils.h ('k') | chrome_frame/vtable_patch_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698