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

Side by Side Diff: webkit/plugins/npapi/webplugin_impl.cc

Issue 9720021: npapi plugins: Make sure WebPlugin has no key functions on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 8 years, 9 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/plugins/npapi/webplugin_impl.h ('k') | no next file » | 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/plugins/npapi/webplugin_impl.h" 5 #include "webkit/plugins/npapi/webplugin_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/linked_ptr.h" 9 #include "base/memory/linked_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 if (clients_[i].client) 747 if (clients_[i].client)
748 clients_[i].client->DidFail(); 748 clients_[i].client->DidFail();
749 } 749 }
750 } 750 }
751 break; 751 break;
752 } 752 }
753 } 753 }
754 } 754 }
755 755
756 #if defined(OS_MACOSX) 756 #if defined(OS_MACOSX)
757 WebPluginAcceleratedSurface* WebPluginImpl::GetAcceleratedSurface(
758 gfx::GpuPreference gpu_preference) {
759 return NULL;
760 }
761
757 void WebPluginImpl::AcceleratedPluginEnabledRendering() { 762 void WebPluginImpl::AcceleratedPluginEnabledRendering() {
758 } 763 }
759 764
760 void WebPluginImpl::AcceleratedPluginAllocatedIOSurface(int32 width, 765 void WebPluginImpl::AcceleratedPluginAllocatedIOSurface(int32 width,
761 int32 height, 766 int32 height,
762 uint32 surface_id) { 767 uint32 surface_id) {
763 next_io_surface_allocated_ = true; 768 next_io_surface_allocated_ = true;
764 next_io_surface_width_ = width; 769 next_io_surface_width_ = width;
765 next_io_surface_height_ = height; 770 next_io_surface_height_ = height;
766 next_io_surface_id_ = surface_id; 771 next_io_surface_id_ = surface_id;
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 webframe_->setReferrerForRequest(*request, plugin_url_); 1402 webframe_->setReferrerForRequest(*request, plugin_url_);
1398 break; 1403 break;
1399 1404
1400 default: 1405 default:
1401 break; 1406 break;
1402 } 1407 }
1403 } 1408 }
1404 1409
1405 } // namespace npapi 1410 } // namespace npapi
1406 } // namespace webkit 1411 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698