Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / test / plugin / plugin_windowed_test.h
blob9cb2869e3fe8ff1071a9d0783f56315dc1198ce4
1 // Copyright (c) 2010 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.
5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_WINDOWED_TEST_H
6 #define CONTENT_TEST_PLUGIN_PLUGIN_WINDOWED_TEST_H
8 #include "content/test/plugin/plugin_test.h"
10 namespace NPAPIClient {
12 // This class contains a list of windowed plugin tests. Please add additional
13 // tests to this class.
14 class WindowedPluginTest : public PluginTest {
15 public:
16 WindowedPluginTest(NPP id, NPNetscapeFuncs *host_functions);
17 ~WindowedPluginTest();
19 private:
20 static LRESULT CALLBACK WindowProc(
21 HWND window, UINT message, WPARAM wparam, LPARAM lparam);
22 static void CallJSFunction(WindowedPluginTest*, const char*);
24 virtual NPError SetWindow(NPWindow* pNPWindow);
25 virtual NPError Destroy();
27 HWND window_;
28 bool done_;
31 } // namespace NPAPIClient
33 #endif // CONTENT_TEST_PLUGIN_PLUGIN_WINDOWED_TEST_H