Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698