summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 21:52:37 +0000
committerarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 21:52:37 +0000
commit8b4f4895a2170a7077e004e27541485a2c7a1a0a (patch)
tree313e97c694816d17aba546fb7f4b7774153329c7 /chrome
parent06965e0f336afc1b1a7849dd4a0637313d64a994 (diff)
downloadchromium_src-8b4f4895a2170a7077e004e27541485a2c7a1a0a.zip
chromium_src-8b4f4895a2170a7077e004e27541485a2c7a1a0a.tar.gz
chromium_src-8b4f4895a2170a7077e004e27541485a2c7a1a0a.tar.bz2
NNTP: Updating the thumbnail size to match the size we use on the new
tab page. This should reduce the amount of work needed since the images do not need to be resized. BUG=17455 TEST=No visible changes Review URL: http://codereview.chromium.org/194028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/theme/ntp_themes_gallery_thumb.pngbin45402 -> 10787 bytes
-rw-r--r--chrome/app/theme/ntp_welcome_thumb.pngbin8409 -> 7562 bytes
-rw-r--r--chrome/browser/tab_contents/thumbnail_generator.cc4
-rw-r--r--chrome/renderer/render_view.cc4
4 files changed, 4 insertions, 4 deletions
diff --git a/chrome/app/theme/ntp_themes_gallery_thumb.png b/chrome/app/theme/ntp_themes_gallery_thumb.png
index 311afd5..11be5d2 100644
--- a/chrome/app/theme/ntp_themes_gallery_thumb.png
+++ b/chrome/app/theme/ntp_themes_gallery_thumb.png
Binary files differ
diff --git a/chrome/app/theme/ntp_welcome_thumb.png b/chrome/app/theme/ntp_welcome_thumb.png
index 414b24d8..1858e02 100644
--- a/chrome/app/theme/ntp_welcome_thumb.png
+++ b/chrome/app/theme/ntp_welcome_thumb.png
Binary files differ
diff --git a/chrome/browser/tab_contents/thumbnail_generator.cc b/chrome/browser/tab_contents/thumbnail_generator.cc
index 9f80c57..7d20381 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.cc
+++ b/chrome/browser/tab_contents/thumbnail_generator.cc
@@ -46,8 +46,8 @@
namespace {
-static const int kThumbnailWidth = 294;
-static const int kThumbnailHeight = 204;
+static const int kThumbnailWidth = 212;
+static const int kThumbnailHeight = 132;
// Indicates the time that the RWH must be visible for us to update the
// thumbnail on it. If the user holds down control enter, there will be a lot
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index f2ae0c6..324d95b 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -145,8 +145,8 @@ using WebKit::WebWorkerClient;
static const size_t kMaxIndexChars = 65535;
// Size of the thumbnails that we'll generate
-static const int kThumbnailWidth = 196;
-static const int kThumbnailHeight = 136;
+static const int kThumbnailWidth = 212;
+static const int kThumbnailHeight = 132;
// Delay in milliseconds that we'll wait before capturing the page contents
// and thumbnail.