Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / android / window_android_helper.cc
blob9a6c0b93b9f005d18b709d2d713cef29454e8d08
1 // Copyright (c) 2012 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 "chrome/browser/ui/android/window_android_helper.h"
7 #include "content/public/browser/web_contents.h"
8 #include "ui/android/window_android.h"
10 DEFINE_WEB_CONTENTS_USER_DATA_KEY(WindowAndroidHelper);
12 WindowAndroidHelper::WindowAndroidHelper(content::WebContents* web_contents) {
15 WindowAndroidHelper::~WindowAndroidHelper() {
18 void WindowAndroidHelper::SetWindowAndroid(ui::WindowAndroid* window_android) {
19 window_android_ = window_android;
22 ui::WindowAndroid* WindowAndroidHelper::GetWindowAndroid() {
23 return window_android_;