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. 4 5 #include "chrome/browser/ui/android/window_android_helper.h" 6 7 #include "content/public/browser/web_contents.h" 8 #include "ui/base/android/window_android.h" 9 10 DEFINE_WEB_CONTENTS_USER_DATA_KEY(WindowAndroidHelper); 11 WindowAndroidHelper(content::WebContents * web_contents)12WindowAndroidHelper::WindowAndroidHelper(content::WebContents* web_contents) { 13 } 14 ~WindowAndroidHelper()15WindowAndroidHelper::~WindowAndroidHelper() { 16 } 17 SetWindowAndroid(ui::WindowAndroid * window_android)18void WindowAndroidHelper::SetWindowAndroid(ui::WindowAndroid* window_android) { 19 window_android_ = window_android; 20 } 21 GetWindowAndroid()22ui::WindowAndroid* WindowAndroidHelper::GetWindowAndroid() { 23 return window_android_; 24 } 25