OLD | NEW |
---|---|
(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 | |
9 namespace ui { | |
10 class WindowAndroid; | |
Ted C
2012/10/09 22:47:54
why aren't you importing the header instead of for
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
11 } | |
12 | |
13 using content::WebContents; | |
14 | |
15 DEFINE_WEB_CONTENTS_USER_DATA_KEY(WindowAndroidHelper) | |
16 | |
17 WindowAndroidHelper::WindowAndroidHelper(WebContents* web_contents) { | |
18 } | |
19 | |
20 void WindowAndroidHelper::setWindowAndroid(ui::WindowAndroid* windowAndroid) { | |
21 window_android_ = windowAndroid; | |
22 } | |
Ted C
2012/10/09 22:47:54
blank line between these two.
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
23 ui::WindowAndroid* WindowAndroidHelper::getWindowAndroid() { | |
24 return window_android_; | |
25 } | |
26 | |
27 WindowAndroidHelper::~WindowAndroidHelper() { | |
Ted C
2012/10/09 22:47:54
the destructor should go above the two methods up
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
28 } | |
OLD | NEW |