Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 600fc10

Browse files
committed
Merge pull request #127 from adobe/glenn/cef-3.1180.823
Update to CEF 3.1180.823
2 parents fc28c82 + e9d0cf1 commit 600fc10

File tree

8 files changed

+35
-6
lines changed

8 files changed

+35
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ xcodebuild/*
1515
*.sdf
1616
*.opensdf
1717
*.suo
18+
*.vcxproj.filters
1819
*.vcxproj.user
1920
*.log
2021
*.dmg

Brackets.vcxproj

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

appshell.xcodeproj/project.pbxproj

Lines changed: 24 additions & 0 deletions
Large diffs are not rendered by default.

appshell/cefclient.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,21 @@ void AppGetSettings(CefSettings& settings, CefRefPtr<ClientApp> app) {
111111

112112
// Retrieve command-line proxy configuration, if any.
113113
bool has_proxy = false;
114-
cef_proxy_type_t proxy_type = PROXY_TYPE_DIRECT;
114+
cef_proxy_type_t proxy_type = CEF_PROXY_TYPE_DIRECT;
115115
CefString proxy_config;
116116

117117
if (g_command_line->HasSwitch(cefclient::kProxyType)) {
118118
std::string str = g_command_line->GetSwitchValue(cefclient::kProxyType);
119119
if (str == cefclient::kProxyType_Direct) {
120120
has_proxy = true;
121-
proxy_type = PROXY_TYPE_DIRECT;
121+
proxy_type = CEF_PROXY_TYPE_DIRECT;
122122
} else if (str == cefclient::kProxyType_Named ||
123123
str == cefclient::kProxyType_Pac) {
124124
proxy_config = g_command_line->GetSwitchValue(cefclient::kProxyConfig);
125125
if (!proxy_config.empty()) {
126126
has_proxy = true;
127127
proxy_type = (str == cefclient::kProxyType_Named?
128-
PROXY_TYPE_NAMED:PROXY_TYPE_PAC_STRING);
128+
CEF_PROXY_TYPE_NAMED:CEF_PROXY_TYPE_PAC_STRING);
129129
}
130130
}
131131
}

appshell/cefclient_mac.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ - (void)alert:(NSString*)title withMessage:(NSString*)message {
164164
}
165165

166166
- (void)notifyConsoleMessage:(id)object {
167+
/*
167168
std::stringstream ss;
168169
ss << "Console messages will be written to " << g_handler->GetLogFile();
169170
NSString* str = [NSString stringWithUTF8String:(ss.str().c_str())];
170171
[self alert:@"Console Messages" withMessage:str];
172+
*/
171173
}
172174

173175
- (void)notifyDownloadComplete:(id)object {

appshell/cefclient_win.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,15 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam,
402402
}
403403
return 0;
404404
case ID_WARN_CONSOLEMESSAGE:
405+
/*
405406
if (g_handler.get()) {
406407
std::wstringstream ss;
407408
ss << L"Console messages will be written to "
408409
<< std::wstring(CefString(g_handler->GetLogFile()));
409410
MessageBox(hWnd, ss.str().c_str(), L"Console Messages",
410411
MB_OK | MB_ICONINFORMATION);
411412
}
413+
*/
412414
return 0;
413415
case ID_WARN_DOWNLOADCOMPLETE:
414416
case ID_WARN_DOWNLOADERROR:

appshell/client_app.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class AppShellExtensionHandler : public CefV8Handler {
195195

196196

197197
ClientApp::ClientApp()
198-
: proxy_type_(PROXY_TYPE_DIRECT) {
198+
: proxy_type_(CEF_PROXY_TYPE_DIRECT) {
199199
CreateRenderDelegates(render_delegates_);
200200
}
201201

libcef_dll_wrapper.vcxproj

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)