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

Side by Side Diff: plugin/win/main_win.cc

Issue 147129: Adding in most of the unit tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 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 | « plugin/plugin.gyp ('k') | serializer/serializer.gyp » ('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 29 matching lines...) Expand all
40 #include <shellapi.h> 40 #include <shellapi.h>
41 41
42 #include "base/at_exit.h" 42 #include "base/at_exit.h"
43 #include "base/command_line.h" 43 #include "base/command_line.h"
44 #include "base/logging.h" 44 #include "base/logging.h"
45 #include "core/cross/display_mode.h" 45 #include "core/cross/display_mode.h"
46 #include "core/cross/event.h" 46 #include "core/cross/event.h"
47 #include "plugin/cross/plugin_logging.h" 47 #include "plugin/cross/plugin_logging.h"
48 #include "plugin/cross/out_of_memory.h" 48 #include "plugin/cross/out_of_memory.h"
49 #include "statsreport/metrics.h" 49 #include "statsreport/metrics.h"
50 #include "third_party/v8/include/v8.h" 50 #include "v8/include/v8.h"
51 #include "breakpad/win/bluescreen_detector.h" 51 #include "breakpad/win/bluescreen_detector.h"
52 52
53 using glue::_o3d::PluginObject; 53 using glue::_o3d::PluginObject;
54 using glue::StreamManager; 54 using glue::StreamManager;
55 using o3d::DisplayWindowWindows; 55 using o3d::DisplayWindowWindows;
56 using o3d::Event; 56 using o3d::Event;
57 57
58 o3d::PluginLogging* g_logger = NULL; 58 o3d::PluginLogging* g_logger = NULL;
59 bool g_logging_initialized = false; 59 bool g_logging_initialized = false;
60 o3d::BluescreenDetector *g_bluescreen_detector = NULL; 60 o3d::BluescreenDetector *g_bluescreen_detector = NULL;
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 StreamManager *stream_manager = obj->stream_manager(); 975 StreamManager *stream_manager = obj->stream_manager();
976 976
977 stream_manager->SetStreamFile(stream, fname); 977 stream_manager->SetStreamFile(stream, fname);
978 } 978 }
979 979
980 int16 NPP_HandleEvent(NPP instance, void *event) { 980 int16 NPP_HandleEvent(NPP instance, void *event) {
981 HANDLE_CRASHES; 981 HANDLE_CRASHES;
982 return 0; 982 return 0;
983 } 983 }
984 } // end extern "C" 984 } // end extern "C"
OLDNEW
« no previous file with comments | « plugin/plugin.gyp ('k') | serializer/serializer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698