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

Unified Diff: webkit/glue/plugins/mock_plugin_delegate.cc

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/mock_plugin_delegate.h ('k') | webkit/glue/plugins/mock_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/mock_plugin_delegate.cc
===================================================================
--- webkit/glue/plugins/mock_plugin_delegate.cc (revision 69381)
+++ webkit/glue/plugins/mock_plugin_delegate.cc (working copy)
@@ -1,187 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "webkit/glue/plugins/mock_plugin_delegate.h"
-
-#include "base/message_loop_proxy.h"
-
-namespace pepper {
-
-MockPluginDelegate::MockPluginDelegate() {
-}
-
-MockPluginDelegate::~MockPluginDelegate() {
-}
-
-void MockPluginDelegate::InstanceCreated(pepper::PluginInstance* instance) {
-}
-
-void MockPluginDelegate::InstanceDeleted(pepper::PluginInstance* instance) {
-}
-
-MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D(
- int width,
- int height) {
- return NULL;
-}
-
-MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() {
- return NULL;
-}
-
-MockPluginDelegate::PlatformVideoDecoder*
-MockPluginDelegate::CreateVideoDecoder(
- const PP_VideoDecoderConfig_Dev& decoder_config) {
- return NULL;
-}
-
-MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio(
- uint32_t sample_rate,
- uint32_t sample_count,
- PlatformAudio::Client* client) {
- return NULL;
-}
-
-void MockPluginDelegate::NumberOfFindResultsChanged(int identifier,
- int total,
- bool final_result) {
-}
-
-void MockPluginDelegate::SelectedFindResultChanged(int identifier, int index) {
-}
-
-bool MockPluginDelegate::RunFileChooser(
- const WebKit::WebFileChooserParams& params,
- WebKit::WebFileChooserCompletion* chooser_completion) {
- return false;
-}
-
-bool MockPluginDelegate::AsyncOpenFile(const FilePath& path,
- int flags,
- AsyncOpenFileCallback* callback) {
- return false;
-}
-
-bool MockPluginDelegate::OpenFileSystem(
- const GURL& url,
- fileapi::FileSystemType type,
- long long size,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::MakeDirectory(
- const FilePath& path,
- bool recursive,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::Query(
- const FilePath& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::Touch(
- const FilePath& path,
- const base::Time& last_access_time,
- const base::Time& last_modified_time,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::Delete(
- const FilePath& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::Rename(
- const FilePath& file_path,
- const FilePath& new_file_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-bool MockPluginDelegate::ReadDirectory(
- const FilePath& directory_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
-base::PlatformFileError MockPluginDelegate::OpenModuleLocalFile(
- const std::string& module_name,
- const FilePath& path,
- int flags,
- base::PlatformFile* file) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-base::PlatformFileError MockPluginDelegate::RenameModuleLocalFile(
- const std::string& module_name,
- const FilePath& path_from,
- const FilePath& path_to) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-base::PlatformFileError MockPluginDelegate::DeleteModuleLocalFileOrDir(
- const std::string& module_name,
- const FilePath& path,
- bool recursive) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-base::PlatformFileError MockPluginDelegate::CreateModuleLocalDir(
- const std::string& module_name,
- const FilePath& path) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-base::PlatformFileError MockPluginDelegate::QueryModuleLocalFile(
- const std::string& module_name,
- const FilePath& path,
- base::PlatformFileInfo* info) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-base::PlatformFileError MockPluginDelegate::GetModuleLocalDirContents(
- const std::string& module_name,
- const FilePath& path,
- PepperDirContents* contents) {
- return base::PLATFORM_FILE_ERROR_FAILED;
-}
-
-scoped_refptr<base::MessageLoopProxy>
-MockPluginDelegate::GetFileThreadMessageLoopProxy() {
- return scoped_refptr<base::MessageLoopProxy>();
-}
-
-FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer(
- PluginInstance* instance) {
- return NULL;
-}
-
-std::string MockPluginDelegate::GetDefaultEncoding() {
- return "iso-8859-1";
-}
-
-void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor,
- double maximum_factor) {
-}
-
-std::string MockPluginDelegate::ResolveProxy(const GURL& url) {
- return std::string();
-}
-
-void MockPluginDelegate::DidStartLoading() {
-}
-
-void MockPluginDelegate::DidStopLoading() {
-}
-
-void MockPluginDelegate::SetContentRestriction(int restrictions) {
-}
-
-} // namespace pepper
« no previous file with comments | « webkit/glue/plugins/mock_plugin_delegate.h ('k') | webkit/glue/plugins/mock_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698