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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |