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

Side by Side Diff: third_party/WebKit/WebKit/chromium/src/WebKit.cpp

Issue 88020: Allow Flash (and other plugins) to be installed without restarting the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "WebKit.h" 32 #include "WebKit.h"
33 33
34 #include "WebString.h" 34 #include "WebString.h"
35 35
36 #include "AtomicString.h" 36 #include "AtomicString.h"
37 #include "DOMTimer.h" 37 #include "DOMTimer.h"
38 #include "FrameLoader.h" 38 #include "FrameLoader.h"
39 #include "Page.h"
39 #include "V8Proxy.h" 40 #include "V8Proxy.h"
40 #include "WorkerContextExecutionProxy.h" 41 #include "WorkerContextExecutionProxy.h"
41 #include <wtf/Assertions.h> 42 #include <wtf/Assertions.h>
42 #include <wtf/Threading.h> 43 #include <wtf/Threading.h>
43 44
44 namespace WebKit { 45 namespace WebKit {
45 46
46 static WebKitClient* s_webKitClient = 0; 47 static WebKitClient* s_webKitClient = 0;
47 static bool s_layoutTestMode = false; 48 static bool s_layoutTestMode = false;
48 49
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 WebCore::V8Proxy::RegisterExtension(extension, schemeRestriction); 105 WebCore::V8Proxy::RegisterExtension(extension, schemeRestriction);
105 } 106 }
106 107
107 void enableWebWorkers() 108 void enableWebWorkers()
108 { 109 {
109 #if ENABLE(WORKERS) 110 #if ENABLE(WORKERS)
110 WebCore::WorkerContextExecutionProxy::setIsWebWorkersEnabled(true); 111 WebCore::WorkerContextExecutionProxy::setIsWebWorkersEnabled(true);
111 #endif 112 #endif
112 } 113 }
113 114
115 void resetPluginCache()
116 {
117 WebCore::Page::refreshPlugins(false);
118 }
119
114 } // namespace WebKit 120 } // namespace WebKit
OLDNEW
« no previous file with comments | « third_party/WebKit/WebKit/chromium/public/WebKit.h ('k') | webkit/glue/plugins/plugin_constants_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698