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

Side by Side Diff: blimp/client/session/tab_control_feature_android.h

Issue 1636163002: Restructure contents of blimp/client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2015 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 #ifndef BLIMP_CLIENT_SESSION_TAB_CONTROL_FEATURE_ANDROID_H_
6 #define BLIMP_CLIENT_SESSION_TAB_CONTROL_FEATURE_ANDROID_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/macros.h"
10
11 namespace blimp {
12 namespace client {
13
14 class TabControlFeature;
15
16 class TabControlFeatureAndroid {
17 public:
18 static bool RegisterJni(JNIEnv* env);
19
20 TabControlFeatureAndroid(JNIEnv* env,
21 const base::android::JavaParamRef<jobject>& jobj,
22 TabControlFeature* tab_control_feature);
23
24 // Methods called from Java via JNI.
25 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
26 void OnContentAreaSizeChanged(
27 JNIEnv* env,
28 const base::android::JavaParamRef<jobject>& jobj,
29 jint width,
30 jint height,
31 jfloat dp_to_px);
32
33 private:
34 virtual ~TabControlFeatureAndroid();
35
36 TabControlFeature* tab_control_feature_;
37
38 // Reference to the Java object which owns this class.
39 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
40
41 DISALLOW_COPY_AND_ASSIGN(TabControlFeatureAndroid);
42 };
43
44 } // namespace client
45 } // namespace blimp
46
47 #endif // BLIMP_CLIENT_SESSION_TAB_CONTROL_FEATURE_ANDROID_H_
OLDNEW
« no previous file with comments | « blimp/client/session/tab_control_feature.cc ('k') | blimp/client/session/tab_control_feature_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698