summaryrefslogtreecommitdiffstats
path: root/extensions/browser/app_window/test_app_window_contents.cc
blob: 5613a2092eec9621494eac0c7bc27cac36ce5dd3 (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
35
36
37
38
39
40
41
42
43
44
// Copyright 2014 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.

#include "extensions/browser/app_window/test_app_window_contents.h"

#include "content/public/browser/web_contents.h"

namespace extensions {

TestAppWindowContents::TestAppWindowContents(content::WebContents* web_contents)
    : web_contents_(web_contents) {
}

TestAppWindowContents::~TestAppWindowContents() {
}

void TestAppWindowContents::Initialize(content::BrowserContext* context,
                                       content::RenderFrameHost* creator_frame,
                                       const GURL& url) {}

void TestAppWindowContents::LoadContents(int32_t creator_process_id) {}

void TestAppWindowContents::NativeWindowChanged(
    NativeAppWindow* native_app_window) {
}

void TestAppWindowContents::NativeWindowClosed() {
}

void TestAppWindowContents::DispatchWindowShownForTests() const {
}

void TestAppWindowContents::OnWindowReady() {}

content::WebContents* TestAppWindowContents::GetWebContents() const {
  return web_contents_.get();
}

WindowController* TestAppWindowContents::GetWindowController() const {
  return nullptr;
}

}  // namespace extensions