| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_POPUP_TOUCH_HANDLE_DRAWABLE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_POPUP_TOUCH_HANDLE_DRAWABLE_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_POPUP_TOUCH_HANDLE_DRAWABLE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_POPUP_TOUCH_HANDLE_DRAWABLE_H_ |
| 7 | 7 |
| 8 #include "ui/touch_selection/touch_handle.h" | 8 #include "ui/touch_selection/touch_handle.h" |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/android/jni_android.h" | 12 #include "base/android/jni_android.h" |
| 13 #include "base/android/jni_weak_ref.h" | 13 #include "base/android/jni_weak_ref.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 | 15 |
| 16 namespace android_webview { | 16 namespace android_webview { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 float GetDrawableHorizontalPaddingRatio() const override; | 36 float GetDrawableHorizontalPaddingRatio() const override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 JavaObjectWeakGlobalRef java_ref_; | 39 JavaObjectWeakGlobalRef java_ref_; |
| 40 | 40 |
| 41 const float drawable_horizontal_padding_ratio_; | 41 const float drawable_horizontal_padding_ratio_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(PopupTouchHandleDrawable); | 43 DISALLOW_COPY_AND_ASSIGN(PopupTouchHandleDrawable); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace content | 46 } // namespace android_webview |
| 47 | 47 |
| 48 #endif // CONTENT_BROWSER_ANDROID_POPUP_TOUCH_HANDLE_DRAWABLE_H_ | 48 #endif // ANDROID_WEBVIEW_BROWSER_POPUP_TOUCH_HANDLE_DRAWABLE_H_ |
| OLD | NEW |