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

Side by Side Diff: chrome/browser/android/transition_page_helper.h

Issue 1144463003: Remove Navigation Transitions from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed TransitionPageHelper. Created 5 years, 7 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 CHROME_BROWSER_ANDROID_TRANSITION_PAGE_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_TRANSITION_PAGE_HELPER_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h"
11
12 namespace content {
13 class WebContents;
14 }
15
16 class TransitionPageHelper {
17 public:
18 static TransitionPageHelper* FromJavaObject(JNIEnv* env, jobject jobj);
19 static bool Register(JNIEnv* env);
20
21 TransitionPageHelper();
22 virtual ~TransitionPageHelper();
23
24 void Destroy(JNIEnv* env, jobject jobj);
25
26 void SetWebContents(JNIEnv* env, jobject jobj, jobject jcontent_view_core);
27 void ReleaseWebContents(JNIEnv* env, jobject jobj);
28 void SetOpacity(JNIEnv* env,
29 jobject jobj,
30 jobject jcontent_view_core,
31 jfloat opacity);
32
33 private:
34 scoped_ptr<content::WebContents> web_contents_;
35
36 DISALLOW_COPY_AND_ASSIGN(TransitionPageHelper);
37 };
38
39 #endif // CHROME_BROWSER_ANDROID_TRANSITION_PAGE_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/transition_page_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698