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

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 and rebase Created 4 years, 4 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698