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

Side by Side Diff: plugin/cross/config_common.cc

Issue 326001: Adding support for windows safari. This requires registering the o3d plugin w... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 1 month 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 | « installer/win/o3d.wxs ('k') | plugin/win/config.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 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (error.length()) { 203 if (error.length()) {
204 O3D_ERROR(GetServiceLocator(npp)) << error; 204 O3D_ERROR(GetServiceLocator(npp)) << error;
205 } else { 205 } else {
206 O3D_ERROR(GetServiceLocator(npp)) 206 O3D_ERROR(GetServiceLocator(npp))
207 << "Could not initialize the graphics driver."; 207 << "Could not initialize the graphics driver.";
208 } 208 }
209 return false; 209 return false;
210 } 210 }
211 } 211 }
212 212
213 // Check User agent. Only Firefox, Chrome and IE are supported. 213 // Check User agent. Only Firefox, Chrome, Safari and IE are supported.
214 std::string user_agent = GetUserAgent(npp); 214 std::string user_agent = GetUserAgent(npp);
215 if (!CheckUserAgent(npp, user_agent)) return false; 215 if (!CheckUserAgent(npp, user_agent)) return false;
216 return true; 216 return true;
217 } 217 }
218 } // namespace o3d 218 } // namespace o3d
OLDNEW
« no previous file with comments | « installer/win/o3d.wxs ('k') | plugin/win/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698