| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 public void didStartNavigationToPendingEntry(String url) { | 308 public void didStartNavigationToPendingEntry(String url) { |
| 309 RewindableIterator<TabObserver> observers = mTab.getTabObservers(); | 309 RewindableIterator<TabObserver> observers = mTab.getTabObservers(); |
| 310 while (observers.hasNext()) { | 310 while (observers.hasNext()) { |
| 311 observers.next().onDidStartNavigationToPendingEntry(mTab, url); | 311 observers.next().onDidStartNavigationToPendingEntry(mTab, url); |
| 312 } | 312 } |
| 313 } | 313 } |
| 314 | 314 |
| 315 @Override | 315 @Override |
| 316 public void destroy() { | 316 public void destroy() { |
| 317 MediaCaptureNotificationService.updateMediaNotificationForTab( | 317 MediaCaptureNotificationService.updateMediaNotificationForTab( |
| 318 mTab.getApplicationContext(), mTab.getId(), false, false, mTab.g
etUrl()); | 318 mTab.getApplicationContext(), mTab.getId(), 0, mTab.getUrl()); |
| 319 super.destroy(); | 319 super.destroy(); |
| 320 } | 320 } |
| 321 } | 321 } |
| OLD | NEW |