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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java

Issue 1214723012: Track whether a created WebContents has a resume pending. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.document; 5 package org.chromium.chrome.browser.document;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 8
9 import org.chromium.base.annotations.SuppressFBWarnings; 9 import org.chromium.base.annotations.SuppressFBWarnings;
10 import org.chromium.content_public.browser.WebContents; 10 import org.chromium.content_public.browser.WebContents;
11 import org.chromium.content_public.common.Referrer; 11 import org.chromium.content_public.common.Referrer;
12 12
13 /** 13 /**
14 * Data that will be used later when a tab is opened via an intent. Often only t he necessary 14 * Data that will be used later when a tab is opened via an intent. Often only t he necessary
15 * subset of the data will be set. All data is removed once the tab finishes ini tializing. 15 * subset of the data will be set. All data is removed once the tab finishes ini tializing.
16 */ 16 */
17 @SuppressFBWarnings({"URF_UNREAD", "UUF_UNUSED"}) 17 @SuppressFBWarnings({"URF_UNREAD", "UUF_UNUSED"})
18 public class PendingDocumentData { 18 public class PendingDocumentData {
19 /** Pending native web contents object to initialize with. */ 19 /** Pending native web contents object to initialize with. */
20 public WebContents webContents; 20 public WebContents webContents;
21 21
22 /** Whether renderer events have been paused for webContents. */
23 public boolean webContentsPaused;
24
25 /** The url to load in the current tab. */ 22 /** The url to load in the current tab. */
26 public String url; 23 public String url;
27 24
28 /** Data to send with a POST request. */ 25 /** Data to send with a POST request. */
29 public byte[] postData; 26 public byte[] postData;
30 27
31 /** Extra HTTP headers to send. */ 28 /** Extra HTTP headers to send. */
32 public String extraHeaders; 29 public String extraHeaders;
33 30
34 /** HTTP "referer". */ 31 /** HTTP "referer". */
35 public Referrer referrer; 32 public Referrer referrer;
36 33
37 /** The original intent */ 34 /** The original intent */
38 public Intent originalIntent; 35 public Intent originalIntent;
39 36
40 /** The tab launch request Id from the service tab launcher. **/ 37 /** The tab launch request Id from the service tab launcher. **/
41 public int requestId; 38 public int requestId;
42 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698