| 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.tab; | 5 package org.chromium.chrome.browser.tab; |
| 6 | 6 |
| 7 import android.os.SystemClock; | 7 import android.os.SystemClock; |
| 8 import android.support.annotation.IntDef; | 8 import android.support.annotation.IntDef; |
| 9 import android.view.View; | 9 import android.view.View; |
| 10 | 10 |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 public void didStartNavigationToPendingEntry(String url) { | 307 public void didStartNavigationToPendingEntry(String url) { |
| 308 RewindableIterator<TabObserver> observers = mTab.getTabObservers(); | 308 RewindableIterator<TabObserver> observers = mTab.getTabObservers(); |
| 309 while (observers.hasNext()) { | 309 while (observers.hasNext()) { |
| 310 observers.next().onDidStartNavigationToPendingEntry(mTab, url); | 310 observers.next().onDidStartNavigationToPendingEntry(mTab, url); |
| 311 } | 311 } |
| 312 } | 312 } |
| 313 | 313 |
| 314 @Override | 314 @Override |
| 315 public void destroy() { | 315 public void destroy() { |
| 316 MediaCaptureNotificationService.updateMediaNotificationForTab( | 316 MediaCaptureNotificationService.updateMediaNotificationForTab( |
| 317 mTab.getApplicationContext(), mTab.getId(), false, false, mTab.g
etUrl()); | 317 mTab.getApplicationContext(), mTab.getId(), 0, mTab.getUrl()); |
| 318 super.destroy(); | 318 super.destroy(); |
| 319 } | 319 } |
| 320 } | 320 } |
| OLD | NEW |