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

Side by Side Diff: content/test/fake_plugin_service.h

Issue 1815593002: Remove windowed NPAPI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Patch Set: rebase Created 4 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
« no previous file with comments | « content/shell/tools/plugin/main.cpp ('k') | content/test/fake_plugin_service.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_
6 #define CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ 6 #define CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/browser/plugin_service.h" 10 #include "content/public/browser/plugin_service.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void RemoveExtraPluginPath(const base::FilePath& path) override; 49 void RemoveExtraPluginPath(const base::FilePath& path) override;
50 void AddExtraPluginDir(const base::FilePath& path) override; 50 void AddExtraPluginDir(const base::FilePath& path) override;
51 void RegisterInternalPlugin(const WebPluginInfo& info, 51 void RegisterInternalPlugin(const WebPluginInfo& info,
52 bool add_at_beginning) override; 52 bool add_at_beginning) override;
53 void UnregisterInternalPlugin(const base::FilePath& path) override; 53 void UnregisterInternalPlugin(const base::FilePath& path) override;
54 void GetInternalPlugins(std::vector<WebPluginInfo>* plugins) override; 54 void GetInternalPlugins(std::vector<WebPluginInfo>* plugins) override;
55 bool NPAPIPluginsSupported() override; 55 bool NPAPIPluginsSupported() override;
56 void DisablePluginsDiscoveryForTesting() override; 56 void DisablePluginsDiscoveryForTesting() override;
57 #if defined(OS_MACOSX) 57 #if defined(OS_MACOSX)
58 void AppActivated() override; 58 void AppActivated() override;
59 #elif defined(OS_WIN)
60 bool GetPluginInfoFromWindow(HWND window,
61 base::string16* plugin_name,
62 base::string16* plugin_version) override;
63 #endif 59 #endif
64 bool PpapiDevChannelSupported(BrowserContext* browser_context, 60 bool PpapiDevChannelSupported(BrowserContext* browser_context,
65 const GURL& document_url) override; 61 const GURL& document_url) override;
66 62
67 private: 63 private:
68 DISALLOW_COPY_AND_ASSIGN(FakePluginService); 64 DISALLOW_COPY_AND_ASSIGN(FakePluginService);
69 }; 65 };
70 66
71 } // namespace content 67 } // namespace content
72 68
73 #endif // CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ 69 #endif // CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/shell/tools/plugin/main.cpp ('k') | content/test/fake_plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698