| OLD | NEW |
| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 void ExtractSmartClipData(JNIEnv* env, | 230 void ExtractSmartClipData(JNIEnv* env, |
| 231 jobject obj, | 231 jobject obj, |
| 232 jint x, | 232 jint x, |
| 233 jint y, | 233 jint y, |
| 234 jint width, | 234 jint width, |
| 235 jint height); | 235 jint height); |
| 236 // -------------------------------------------------------------------------- | 236 // -------------------------------------------------------------------------- |
| 237 // Public methods that call to Java via JNI | 237 // Public methods that call to Java via JNI |
| 238 // -------------------------------------------------------------------------- | 238 // -------------------------------------------------------------------------- |
| 239 | 239 |
| 240 void OnSmartClipDataExtracted(const string16& result); | 240 void OnSmartClipDataExtracted(const base::string16& result); |
| 241 | 241 |
| 242 // Creates a popup menu with |items|. | 242 // Creates a popup menu with |items|. |
| 243 // |multiple| defines if it should support multi-select. | 243 // |multiple| defines if it should support multi-select. |
| 244 // If not |multiple|, |selected_item| sets the initially selected item. | 244 // If not |multiple|, |selected_item| sets the initially selected item. |
| 245 // Otherwise, item's "checked" flag selects it. | 245 // Otherwise, item's "checked" flag selects it. |
| 246 void ShowSelectPopupMenu(const std::vector<MenuItem>& items, | 246 void ShowSelectPopupMenu(const std::vector<MenuItem>& items, |
| 247 int selected_item, | 247 int selected_item, |
| 248 bool multiple); | 248 bool multiple); |
| 249 | 249 |
| 250 void OnTabCrashed(); | 250 void OnTabCrashed(); |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 bool geolocation_needs_pause_; | 392 bool geolocation_needs_pause_; |
| 393 | 393 |
| 394 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 394 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 395 }; | 395 }; |
| 396 | 396 |
| 397 bool RegisterContentViewCore(JNIEnv* env); | 397 bool RegisterContentViewCore(JNIEnv* env); |
| 398 | 398 |
| 399 } // namespace content | 399 } // namespace content |
| 400 | 400 |
| 401 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 401 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |