Home | History | Annotate | Download | only in android
      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 
     12 WindowAndroidHelper::WindowAndroidHelper(content::WebContents* web_contents) {
     13 }
     14 
     15 WindowAndroidHelper::~WindowAndroidHelper() {
     16 }
     17 
     18 void WindowAndroidHelper::SetWindowAndroid(ui::WindowAndroid* window_android) {
     19   window_android_ = window_android;
     20 }
     21 
     22 ui::WindowAndroid* WindowAndroidHelper::GetWindowAndroid() {
     23   return window_android_;
     24 }
     25