Files.app: Dispatch 'drive-connection-changed' event on initialization of VolumeManag...
[chromium-blink-merge.git] / extensions / browser / app_window / test_app_window_contents.cc
blob18401e77cb277ce440a1041d7b10d6a8ea50beec
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 WindowController* TestAppWindowContents::GetWindowController() const {
40 return nullptr;
43 } // namespace extensions