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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/PageInfo.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/PageInfo.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PageInfo.java b/content/public/android/java/src/org/chromium/content/browser/PageInfo.java
deleted file mode 100644
index 07e435239674406382cfe8147634702cff7e3a59..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/PageInfo.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.content.browser;
-
-import android.graphics.Bitmap;
-import android.view.View;
-
-/**
- * A minimal interface for a View to implement to be shown in a Tab. The main implementation of
- * this is ContentView but other Views can also implement this, enabling them to be shown in a Tab
- * as well.
- */
-public interface PageInfo {
- /**
- * @return The title of the page.
- */
- String getTitle();
-
- /**
- * @return True, if the view is in a suitable state for a snapshot.
- */
- boolean isReadyForSnapshot();
-
- /**
- * @return An unscaled screenshot of the page.
- */
- Bitmap getBitmap();
-
- /**
- * @return A screenshot of the page scaled to the specified size.
- */
- Bitmap getBitmap(int width, int height);
-
- /**
- * @return The background color of the page.
- */
- int getBackgroundColor();
-
- /**
- * @return The View to display the page. This is always non-null.
- */
- View getView();
-}

Powered by Google App Engine
This is Rietveld 408576698