| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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.chrome.browser.ntp; | 5 package org.chromium.chrome.browser.ntp; |
| 6 | 6 |
| 7 import android.annotation.SuppressLint; | 7 import android.annotation.SuppressLint; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.content.res.Resources; | 9 import android.content.res.Resources; |
| 10 import android.content.res.TypedArray; | 10 import android.content.res.TypedArray; |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 return false; | 248 return false; |
| 249 } | 249 } |
| 250 } | 250 } |
| 251 | 251 |
| 252 @Override | 252 @Override |
| 253 public void onClick(View v) { | 253 public void onClick(View v) { |
| 254 if (mManager.isDestroyed()) return; | 254 if (mManager.isDestroyed()) return; |
| 255 mManager.open(this); | 255 mManager.open(this); |
| 256 } | 256 } |
| 257 } | 257 } |
| OLD | NEW |