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

Side by Side Diff: webkit/api/src/WebKit.cpp

Issue 179051: Fix two issues with the plugin installer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « no previous file | webkit/default_plugin/install_dialog.h » ('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 (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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 void enableMediaPlayer() 131 void enableMediaPlayer()
132 { 132 {
133 #if ENABLE(VIDEO) 133 #if ENABLE(VIDEO)
134 WebMediaPlayerClientImpl::setIsEnabled(true); 134 WebMediaPlayerClientImpl::setIsEnabled(true);
135 #endif 135 #endif
136 } 136 }
137 137
138 void resetPluginCache() 138 void resetPluginCache()
139 { 139 {
140 WebCore::Page::refreshPlugins(false); 140 WebCore::Page::refreshPlugins(true);
141 } 141 }
142 142
143 void enableDatabases() 143 void enableDatabases()
144 { 144 {
145 #if ENABLE(DATABASE) 145 #if ENABLE(DATABASE)
146 s_databasesEnabled = true; 146 s_databasesEnabled = true;
147 #endif 147 #endif
148 } 148 }
149 149
150 bool databasesEnabled() 150 bool databasesEnabled()
(...skipping 15 matching lines...) Expand all
166 *WebCore::SecurityOrigin::create(sourceOrigin), destinationProtocol, 166 *WebCore::SecurityOrigin::create(sourceOrigin), destinationProtocol,
167 destinationHost, allowDestinationSubdomains); 167 destinationHost, allowDestinationSubdomains);
168 } 168 }
169 169
170 void resetOriginAccessWhiteLists() 170 void resetOriginAccessWhiteLists()
171 { 171 {
172 WebCore::SecurityOrigin::resetOriginAccessWhiteLists(); 172 WebCore::SecurityOrigin::resetOriginAccessWhiteLists();
173 } 173 }
174 174
175 } // namespace WebKit 175 } // namespace WebKit
OLDNEW
« no previous file with comments | « no previous file | webkit/default_plugin/install_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698