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"
11 TestAppWindowContents::TestAppWindowContents(content::WebContents
* web_contents
)
12 : web_contents_(web_contents
) {
15 TestAppWindowContents::~TestAppWindowContents() {
18 void TestAppWindowContents::Initialize(content::BrowserContext
* context
,
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 void TestAppWindowContents::OnWindowReady() {}
37 content::WebContents
* TestAppWindowContents::GetWebContents() const {
38 return web_contents_
.get();
41 WindowController
* TestAppWindowContents::GetWindowController() const {
45 } // namespace extensions