Roll src/third_party/WebKit a3b4a2e:7441784 (svn 202551:202552)
[chromium-blink-merge.git] / extensions / browser / app_window / test_app_window_contents.cc
blob6cdefcb62dfaee87305359d507a3e74dc9da65bc
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 void TestAppWindowContents::OnWindowReady() {}
37 content::WebContents* TestAppWindowContents::GetWebContents() const {
38 return web_contents_.get();
41 WindowController* TestAppWindowContents::GetWindowController() const {
42 return nullptr;
45 } // namespace extensions