Ignore non-active fullscreen windows for shelf state.
[chromium-blink-merge.git] / content / browser / renderer_host / pepper / browser_ppapi_host_test.cc
blobecbcd0e120a9d617e58e7cf3073c6efa3459a993
1 // Copyright (c) 2012 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 #include "content/browser/renderer_host/pepper/browser_ppapi_host_test.h"
7 #include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h"
9 namespace content {
11 BrowserPpapiHostTest::BrowserPpapiHostTest()
12 : sink_() {
13 ppapi_host_.reset(new BrowserPpapiHostImpl(
14 &sink_,
15 ppapi::PpapiPermissions::AllPermissions(),
16 std::string(),
17 base::FilePath(),
18 base::FilePath(),
19 false /* in_process */,
20 false /* external_plugin */));
21 ppapi_host_->set_plugin_process_handle(base::GetCurrentProcessHandle());
24 BrowserPpapiHostTest::~BrowserPpapiHostTest() {
27 BrowserPpapiHost* BrowserPpapiHostTest::GetBrowserPpapiHost() {
28 return ppapi_host_.get();
31 } // namespace content