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

Side by Side Diff: gpu/np_utils/np_plugin_object_mock.h

Issue 481007: Deleted np_utils library. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/np_utils/np_plugin_object_factory_mock.h ('k') | gpu/np_utils/np_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_
6 #define GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_
7
8 #include "gpu/np_utils/np_plugin_object.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11
12 namespace np_utils {
13
14 class MockPluginObject : public PluginObject {
15 public:
16 MOCK_METHOD5(New, NPError(NPMIMEType, int16, char*[], char*[], NPSavedData*));
17 MOCK_METHOD1(SetWindow, NPError(NPWindow*));
18 MOCK_METHOD1(HandleEvent, int16(NPEvent*));
19 MOCK_METHOD1(Destroy, NPError(NPSavedData**));
20 MOCK_METHOD0(Release, void());
21 MOCK_METHOD0(GetScriptableNPObject, NPObject*());
22 };
23
24 } // namespace np_utils
25
26 #endif // GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_
OLDNEW
« no previous file with comments | « gpu/np_utils/np_plugin_object_factory_mock.h ('k') | gpu/np_utils/np_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698