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

Side by Side Diff: chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h

Issue 10945010: Switch BookmarkTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 double load_progress) OVERRIDE; 79 double load_progress) OVERRIDE;
80 virtual void CloseContents(content::WebContents* source) OVERRIDE; 80 virtual void CloseContents(content::WebContents* source) OVERRIDE;
81 virtual void MoveContents(content::WebContents* source, 81 virtual void MoveContents(content::WebContents* source,
82 const gfx::Rect& pos) OVERRIDE; 82 const gfx::Rect& pos) OVERRIDE;
83 virtual bool AddMessageToConsole(content::WebContents* source, 83 virtual bool AddMessageToConsole(content::WebContents* source,
84 int32 level, 84 int32 level,
85 const string16& message, 85 const string16& message,
86 int32 line_no, 86 int32 line_no,
87 const string16& source_id) OVERRIDE; 87 const string16& source_id) OVERRIDE;
88 // TODO(merge): WARNING! method no longer available on the base class. 88 // TODO(merge): WARNING! method no longer available on the base class.
89 // See http://b/issue?id=5862108 89 // See http://crbug.com/149477
90 virtual void URLStarredChanged(content::WebContents* source, bool starred); 90 virtual void URLStarredChanged(content::WebContents* source, bool starred);
91 virtual void UpdateTargetURL(content::WebContents* source, 91 virtual void UpdateTargetURL(content::WebContents* source,
92 int32 page_id, 92 int32 page_id,
93 const GURL& url) OVERRIDE; 93 const GURL& url) OVERRIDE;
94 virtual bool CanDownload(content::RenderViewHost* source, 94 virtual bool CanDownload(content::RenderViewHost* source,
95 int request_id, 95 int request_id,
96 const std::string& request_method) OVERRIDE; 96 const std::string& request_method) OVERRIDE;
97 virtual void OnStartDownload(content::WebContents* source, 97 virtual void OnStartDownload(content::WebContents* source,
98 content::DownloadItem* download) OVERRIDE; 98 content::DownloadItem* download) OVERRIDE;
99 virtual bool ShouldOverrideLoading(const GURL& url) OVERRIDE; 99 virtual bool ShouldOverrideLoading(const GURL& url) OVERRIDE;
(...skipping 20 matching lines...) Expand all
120 120
121 // The object responsible for creating JavaScript dialogs. 121 // The object responsible for creating JavaScript dialogs.
122 content::JavaScriptDialogCreator* javascript_dialog_creator_; 122 content::JavaScriptDialogCreator* javascript_dialog_creator_;
123 }; 123 };
124 124
125 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); 125 bool RegisterWebContentsDelegateAndroid(JNIEnv* env);
126 126
127 } // namespace web_contents_delegate_android 127 } // namespace web_contents_delegate_android
128 128
129 #endif // CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_D ELEGATE_ANDROID_H_ 129 #endif // CHROME_BROWSER_COMPONENT_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_D ELEGATE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698