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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 2360103002: Removing unnecessary context menu logic (Closed)
Patch Set: Added missing brace Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void GetContentBitmap(JNIEnv* env, 167 void GetContentBitmap(JNIEnv* env,
168 const base::android::JavaParamRef<jobject>& obj, 168 const base::android::JavaParamRef<jobject>& obj,
169 const base::android::JavaParamRef<jobject>& jcallback, 169 const base::android::JavaParamRef<jobject>& jcallback,
170 const base::android::JavaParamRef<jobject>& color_type, 170 const base::android::JavaParamRef<jobject>& color_type,
171 jfloat scale, 171 jfloat scale,
172 jfloat x, 172 jfloat x,
173 jfloat y, 173 jfloat y,
174 jfloat width, 174 jfloat width,
175 jfloat height); 175 jfloat height);
176 176
177 void OnContextMenuClosed(JNIEnv* env,
178 const base::android::JavaParamRef<jobject>& obj);
179
180 void ReloadLoFiImages(JNIEnv* env, 177 void ReloadLoFiImages(JNIEnv* env,
181 const base::android::JavaParamRef<jobject>& obj); 178 const base::android::JavaParamRef<jobject>& obj);
182 179
183 void set_synchronous_compositor_client(SynchronousCompositorClient* client) { 180 void set_synchronous_compositor_client(SynchronousCompositorClient* client) {
184 synchronous_compositor_client_ = client; 181 synchronous_compositor_client_ = client;
185 } 182 }
186 SynchronousCompositorClient* synchronous_compositor_client() const { 183 SynchronousCompositorClient* synchronous_compositor_client() const {
187 return synchronous_compositor_client_; 184 return synchronous_compositor_client_;
188 } 185 }
189 186
(...skipping 29 matching lines...) Expand all
219 SynchronousCompositorClient* synchronous_compositor_client_; 216 SynchronousCompositorClient* synchronous_compositor_client_;
220 217
221 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; 218 base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
222 219
223 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 220 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
224 }; 221 };
225 222
226 } // namespace content 223 } // namespace content
227 224
228 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 225 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698