diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 01:17:59 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 01:17:59 +0000 |
commit | 6974ae7eabcf78db7386819415463ee6a830a1fd (patch) | |
tree | 449d6bb0c1bf1a2f15f4164cab6152ff716b40d3 /chrome/browser/prerender/prerender_config.h | |
parent | a810f699a654cd361b7509c2412c22ef5d9369a0 (diff) | |
download | chromium_src-6974ae7eabcf78db7386819415463ee6a830a1fd.zip chromium_src-6974ae7eabcf78db7386819415463ee6a830a1fd.tar.gz chromium_src-6974ae7eabcf78db7386819415463ee6a830a1fd.tar.bz2 |
Upstreaming prerendering changes for Android.
These changes are used by the Android port.
Mostly they allow to:
- figure-out if a page has been fully rendered before switching to
it.
- set a default size when there is no active browser (which is the
case on Chrome for Android)
BUG=None
TEST=All prerender tests should still pass.
Review URL: http://codereview.chromium.org/9387015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender/prerender_config.h')
-rw-r--r-- | chrome/browser/prerender/prerender_config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/prerender/prerender_config.h b/chrome/browser/prerender/prerender_config.h index a9ca690..46b83a5 100644 --- a/chrome/browser/prerender/prerender_config.h +++ b/chrome/browser/prerender/prerender_config.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -7,6 +7,7 @@ #pragma once #include "base/time.h" +#include "ui/gfx/rect.h" namespace prerender { @@ -27,6 +28,10 @@ struct Config { // Is https allowed? bool https_allowed; + + // The default tab bounds used as the prerenderer tab size when the active tab + // cannot be accessed. + gfx::Rect default_tab_bounds; }; } // namespace prerender |