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

Side by Side Diff: content/browser/android/web_contents_observer_android.h

Issue 10963041: Revert "Revert 158067 - Remove native side of content_view_client" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add additional_input_paths as a variable and input to java.gypi Created 8 years, 3 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 27 matching lines...) Expand all
38 const GURL& validated_url, 38 const GURL& validated_url,
39 int error_code, 39 int error_code,
40 const string16& error_description, 40 const string16& error_description,
41 RenderViewHost* render_view_host) OVERRIDE; 41 RenderViewHost* render_view_host) OVERRIDE;
42 virtual void DidFailLoad(int64 frame_id, 42 virtual void DidFailLoad(int64 frame_id,
43 const GURL& validated_url, 43 const GURL& validated_url,
44 bool is_main_frame, 44 bool is_main_frame,
45 int error_code, 45 int error_code,
46 const string16& error_description, 46 const string16& error_description,
47 RenderViewHost* render_view_host) OVERRIDE; 47 RenderViewHost* render_view_host) OVERRIDE;
48 virtual void DidNavigateMainFrame(const LoadCommittedDetails& details,
49 const FrameNavigateParams& params) OVERRIDE;
48 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; 50 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
49 51
50 void DidFailLoadInternal(bool is_provisional_load, 52 void DidFailLoadInternal(bool is_provisional_load,
51 bool is_main_frame, 53 bool is_main_frame,
52 int error_code, 54 int error_code,
53 const string16& description, 55 const string16& description,
54 const GURL& url); 56 const GURL& url);
55 57
56 JavaObjectWeakGlobalRef weak_java_observer_; 58 JavaObjectWeakGlobalRef weak_java_observer_;
57 59
58 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverAndroid); 60 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverAndroid);
59 }; 61 };
60 62
61 bool RegisterWebContentsObserverAndroid(JNIEnv* env); 63 bool RegisterWebContentsObserverAndroid(JNIEnv* env);
62 } // namespace content 64 } // namespace content
63 65
64 #endif // CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_ 66 #endif // CONTENT_BROWSER_ANDROID_WEB_CONTENTS_OBSERVER_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/android/web_contents_observer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698