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

Side by Side Diff: webkit/support/test_webplugin_page_delegate.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/support/test_webmessageportchannel.cc ('k') | webkit/support/web_audio_device_mock.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/support/test_webplugin_page_delegate.h" 5 #include "webkit/support/test_webplugin_page_delegate.h"
6 6
7 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" 7 #include "third_party/WebKit/public/platform/Platform.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
9 9
10 namespace webkit_support { 10 namespace webkit_support {
11 11
12 webkit::npapi::WebPluginDelegate* 12 webkit::npapi::WebPluginDelegate*
13 TestWebPluginPageDelegate::CreatePluginDelegate( 13 TestWebPluginPageDelegate::CreatePluginDelegate(
14 const base::FilePath& file_path, 14 const base::FilePath& file_path,
15 const std::string& mime_type) { 15 const std::string& mime_type) {
16 webkit::npapi::WebPluginDelegateImpl* delegate = 16 webkit::npapi::WebPluginDelegateImpl* delegate =
17 webkit::npapi::WebPluginDelegateImpl::Create(file_path, mime_type); 17 webkit::npapi::WebPluginDelegateImpl::Create(file_path, mime_type);
18 #if defined(OS_MACOSX) && !defined(USE_AURA) 18 #if defined(OS_MACOSX) && !defined(USE_AURA)
19 if (delegate) 19 if (delegate)
20 delegate->SetContainerVisibility(true); 20 delegate->SetContainerVisibility(true);
21 #endif 21 #endif
22 return delegate; 22 return delegate;
23 } 23 }
24 24
25 WebKit::WebPlugin* TestWebPluginPageDelegate::CreatePluginReplacement( 25 WebKit::WebPlugin* TestWebPluginPageDelegate::CreatePluginReplacement(
26 const base::FilePath& file_path) { 26 const base::FilePath& file_path) {
27 return NULL; 27 return NULL;
28 } 28 }
29 29
30 WebKit::WebCookieJar* TestWebPluginPageDelegate::GetCookieJar() { 30 WebKit::WebCookieJar* TestWebPluginPageDelegate::GetCookieJar() {
31 return WebKit::Platform::current()->cookieJar(); 31 return WebKit::Platform::current()->cookieJar();
32 } 32 }
33 33
34 } // namespace webkit_support 34 } // namespace webkit_support
35 35
OLDNEW
« no previous file with comments | « webkit/support/test_webmessageportchannel.cc ('k') | webkit/support/web_audio_device_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698