summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/npapi_test_helper.h
blob: b91491662cbe0bd79a5f160aecd80693f86fc197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2009 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.

#ifndef CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
#define CHROME_TEST_UI_NPAPI_TEST_HELPER_H_

#include "chrome/test/ui/ui_test.h"

// Helper class for NPAPI plugin UI tests.
class NPAPITester : public UITest {
 protected:
  NPAPITester();
  virtual void SetUp();
  virtual void TearDown();

 private:
  FilePath plugin_dll_;
};

// Helper class for NPAPI plugin UI tests, which need the browser window
// to be visible.
class NPAPIVisiblePluginTester : public NPAPITester {
 protected:
  virtual void SetUp();
};

// Helper class for NPAPI plugin UI tests which use incognito mode.
class NPAPIIncognitoTester : public NPAPITester {
 protected:
  virtual void SetUp();
};

#endif  // CHROME_TEST_UI_NPAPI_TEST_HELPER_H_