Add a UsbService::Observer function for cleanup actions.
[chromium-blink-merge.git] / extensions / browser / app_window / test_app_window_contents.cc
blob4cc856d609b27b03fef5b803528ef8da4170e9f6
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
3 // found in the LICENSE file.
5 #include "extensions/browser/app_window/test_app_window_contents.h"
7 #include "content/public/browser/web_contents.h"
9 namespace extensions {
11 TestAppWindowContents::TestAppWindowContents(content::WebContents* web_contents)
12 : web_contents_(web_contents) {
15 TestAppWindowContents::~TestAppWindowContents() {
18 void TestAppWindowContents::Initialize(content::BrowserContext* context,
19 const GURL& url) {
22 void TestAppWindowContents::LoadContents(int32 creator_process_id) {
25 void TestAppWindowContents::NativeWindowChanged(
26 NativeAppWindow* native_app_window) {
29 void TestAppWindowContents::NativeWindowClosed() {
32 void TestAppWindowContents::DispatchWindowShownForTests() const {
35 content::WebContents* TestAppWindowContents::GetWebContents() const {
36 return web_contents_.get();
39 } // namespace extensions