Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Side by Side Diff: chrome/browser/ui/android/window_android_helper.cc

Issue 11098008: Adding a WindowAndroidHelper class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving from tab_contents to tab_android Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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/gfx/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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698