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

Side by Side Diff: content/components/web_contents_delegate_android/web_contents_delegate_android.h

Issue 11412274: [Android] Remove onUrlStarChanged method from WebContentsDelegateAndroid. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELE GATE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELE GATE_ANDROID_H_
6 #define CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELE GATE_ANDROID_H_ 6 #define CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELE GATE_ANDROID_H_
7 7
8 #include "base/android/jni_helper.h" 8 #include "base/android/jni_helper.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void LoadProgressChanged(WebContents* source, 69 virtual void LoadProgressChanged(WebContents* source,
70 double load_progress) OVERRIDE; 70 double load_progress) OVERRIDE;
71 virtual void CloseContents(WebContents* source) OVERRIDE; 71 virtual void CloseContents(WebContents* source) OVERRIDE;
72 virtual void MoveContents(WebContents* source, 72 virtual void MoveContents(WebContents* source,
73 const gfx::Rect& pos) OVERRIDE; 73 const gfx::Rect& pos) OVERRIDE;
74 virtual bool AddMessageToConsole(WebContents* source, 74 virtual bool AddMessageToConsole(WebContents* source,
75 int32 level, 75 int32 level,
76 const string16& message, 76 const string16& message,
77 int32 line_no, 77 int32 line_no,
78 const string16& source_id) OVERRIDE; 78 const string16& source_id) OVERRIDE;
79 // TODO(merge): WARNING! method no longer available on the base class.
80 // See http://crbug.com/149477
81 virtual void URLStarredChanged(WebContents* source, bool starred);
82 virtual void UpdateTargetURL(WebContents* source, 79 virtual void UpdateTargetURL(WebContents* source,
83 int32 page_id, 80 int32 page_id,
84 const GURL& url) OVERRIDE; 81 const GURL& url) OVERRIDE;
85 virtual void HandleKeyboardEvent( 82 virtual void HandleKeyboardEvent(
86 WebContents* source, 83 WebContents* source,
87 const NativeWebKeyboardEvent& event) OVERRIDE; 84 const NativeWebKeyboardEvent& event) OVERRIDE;
88 virtual bool TakeFocus(WebContents* source, bool reverse) OVERRIDE; 85 virtual bool TakeFocus(WebContents* source, bool reverse) OVERRIDE;
89 86
90 virtual void ShowRepostFormWarningDialog(WebContents* source) OVERRIDE; 87 virtual void ShowRepostFormWarningDialog(WebContents* source) OVERRIDE;
91 88
(...skipping 10 matching lines...) Expand all
102 // strong reference to that object as long as they want to receive callbacks 99 // strong reference to that object as long as they want to receive callbacks
103 // on it. Using a weak ref here allows it to be correctly GCed. 100 // on it. Using a weak ref here allows it to be correctly GCed.
104 JavaObjectWeakGlobalRef weak_java_delegate_; 101 JavaObjectWeakGlobalRef weak_java_delegate_;
105 }; 102 };
106 103
107 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); 104 bool RegisterWebContentsDelegateAndroid(JNIEnv* env);
108 105
109 } // namespace content 106 } // namespace content
110 107
111 #endif // CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_D ELEGATE_ANDROID_H_ 108 #endif // CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_D ELEGATE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698