Make WebContents Parcelable
commit314abcfd61ad51ad882c9312a83f3ccd4c94f845
authordtrainor <dtrainor@chromium.org>
Wed, 10 Jun 2015 22:10:54 +0000 (10 15:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 22:11:23 +0000 (10 22:11 +0000)
treef3058ef066127a2ddc9a84f508823df9a2e9576a
parent180998eb49804802cfa5eb5c8b018830e5311bc0
Make WebContents Parcelable

- Make WebContents/WebContentsImpl Parcelable so that it can be added
  to an Intent.
- Add checks to see if the process has been restarted to prevent
  garbage pointers from being reused.

BUG=

Review URL: https://codereview.chromium.org/846053004

Cr-Commit-Position: refs/heads/master@{#333816}
26 files changed:
chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java [deleted file]
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/android/java/src/org/chromium/chrome/browser/TabState.java
chrome/android/java/src/org/chromium/chrome/browser/WebContentsFactory.java [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java
chrome/android/java/src/org/chromium/chrome/browser/tab/BackgroundContentViewHelper.java
chrome/android/java_staging/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTab.java
chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentTab.java
chrome/android/java_staging/src/org/chromium/chrome/browser/dom_distiller/ReaderModePanel.java
chrome/android/javatests_shell/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
chrome/android/javatests_shell/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
chrome/browser/android/chrome_jni_registrar.cc
chrome/browser/android/content_view_util.cc [deleted file]
chrome/browser/android/content_view_util.h [deleted file]
chrome/browser/android/tab_state.cc
chrome/browser/android/tab_state.h
chrome/browser/android/web_contents_factory.cc [new file with mode: 0644]
chrome/browser/android/web_contents_factory.h [new file with mode: 0644]
chrome/chrome_browser.gypi
content/browser/web_contents/web_contents_android.cc
content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java [new file with mode: 0644]
content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java
content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java