OLD | NEW |
1 // Copyright (c) 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 package org.chromium.android_webview; | 5 package org.chromium.android_webview; |
6 | 6 |
7 import android.view.Gravity; | 7 import android.view.Gravity; |
8 import android.view.View; | 8 import android.view.View; |
9 import android.view.ViewGroup; | 9 import android.view.ViewGroup; |
10 import android.widget.FrameLayout; | 10 import android.widget.FrameLayout; |
11 import android.widget.ZoomButtonsController; | 11 import android.widget.ZoomButtonsController; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 if (zoomIn) { | 93 if (zoomIn) { |
94 mAwContents.zoomIn(); | 94 mAwContents.zoomIn(); |
95 } else { | 95 } else { |
96 mAwContents.zoomOut(); | 96 mAwContents.zoomOut(); |
97 } | 97 } |
98 // ContentView will call updateZoomControls after its current page s
cale | 98 // ContentView will call updateZoomControls after its current page s
cale |
99 // is got updated from the native code. | 99 // is got updated from the native code. |
100 } | 100 } |
101 } | 101 } |
102 } | 102 } |
OLD | NEW |