summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/android/window_android_helper.cc
blob: 9a6c0b93b9f005d18b709d2d713cef29454e8d08 (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
// Copyright (c) 2012 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 "chrome/browser/ui/android/window_android_helper.h"

#include "content/public/browser/web_contents.h"
#include "ui/android/window_android.h"

DEFINE_WEB_CONTENTS_USER_DATA_KEY(WindowAndroidHelper);

WindowAndroidHelper::WindowAndroidHelper(content::WebContents* web_contents) {
}

WindowAndroidHelper::~WindowAndroidHelper() {
}

void WindowAndroidHelper::SetWindowAndroid(ui::WindowAndroid* window_android) {
  window_android_ = window_android;
}

ui::WindowAndroid* WindowAndroidHelper::GetWindowAndroid() {
  return window_android_;
}