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

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

Issue 159232: Remove the dependency on V8Proxy.h from test_shell.cc. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 | « webkit/api/public/WebKit.h ('k') | webkit/tools/test_shell/test_shell.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 (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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 { 99 {
100 WebCore::V8Proxy::registerExtension(extension, WebString()); 100 WebCore::V8Proxy::registerExtension(extension, WebString());
101 } 101 }
102 102
103 void registerExtension(v8::Extension* extension, 103 void registerExtension(v8::Extension* extension,
104 const WebString& schemeRestriction) 104 const WebString& schemeRestriction)
105 { 105 {
106 WebCore::V8Proxy::registerExtension(extension, schemeRestriction); 106 WebCore::V8Proxy::registerExtension(extension, schemeRestriction);
107 } 107 }
108 108
109 void flushConsoleMessages()
110 {
111 WebCore::V8Proxy::processConsoleMessages();
112 }
113
109 void enableMediaPlayer() 114 void enableMediaPlayer()
110 { 115 {
111 #if ENABLE(VIDEO) 116 #if ENABLE(VIDEO)
112 WebMediaPlayerClientImpl::setIsEnabled(true); 117 WebMediaPlayerClientImpl::setIsEnabled(true);
113 #endif 118 #endif
114 } 119 }
115 120
116 void resetPluginCache() 121 void resetPluginCache()
117 { 122 {
118 WebCore::Page::refreshPlugins(false); 123 WebCore::Page::refreshPlugins(false);
119 } 124 }
120 125
121 } // namespace WebKit 126 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/api/public/WebKit.h ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698