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

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

Issue 260623004: Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes done according to review comments Created 6 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 jint y, 219 jint y,
220 jint width, 220 jint width,
221 jint height); 221 jint height);
222 222
223 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); 223 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj);
224 224
225 // -------------------------------------------------------------------------- 225 // --------------------------------------------------------------------------
226 // Public methods that call to Java via JNI 226 // Public methods that call to Java via JNI
227 // -------------------------------------------------------------------------- 227 // --------------------------------------------------------------------------
228 228
229 void OnSmartClipDataExtracted(const base::string16& result); 229 void OnSmartClipDataExtracted(const gfx::Rect& clip_rect,
230 const base::string16& result);
230 231
231 // Creates a popup menu with |items|. 232 // Creates a popup menu with |items|.
232 // |multiple| defines if it should support multi-select. 233 // |multiple| defines if it should support multi-select.
233 // If not |multiple|, |selected_item| sets the initially selected item. 234 // If not |multiple|, |selected_item| sets the initially selected item.
234 // Otherwise, item's "checked" flag selects it. 235 // Otherwise, item's "checked" flag selects it.
235 void ShowSelectPopupMenu(const std::vector<MenuItem>& items, 236 void ShowSelectPopupMenu(const std::vector<MenuItem>& items,
236 int selected_item, 237 int selected_item,
237 bool multiple); 238 bool multiple);
238 // Hides a visible popup menu. 239 // Hides a visible popup menu.
239 void HideSelectPopupMenu(); 240 void HideSelectPopupMenu();
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 bool geolocation_needs_pause_; 377 bool geolocation_needs_pause_;
377 378
378 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 379 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
379 }; 380 };
380 381
381 bool RegisterContentViewCore(JNIEnv* env); 382 bool RegisterContentViewCore(JNIEnv* env);
382 383
383 } // namespace content 384 } // namespace content
384 385
385 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 386 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | content/common/view_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698