diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 09:36:55 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 09:36:55 +0000 |
commit | 9d062b16388f2b6671c6dbcc7b09e0b3090b1921 (patch) | |
tree | e45b04efca988844aca6486b1c541dda8aceeaba /chrome/browser/tab_contents/tab_contents.h | |
parent | 8a25f58b49685057aac9d9e91fc4654a56f3debc (diff) | |
download | chromium_src-9d062b16388f2b6671c6dbcc7b09e0b3090b1921.zip chromium_src-9d062b16388f2b6671c6dbcc7b09e0b3090b1921.tar.gz chromium_src-9d062b16388f2b6671c6dbcc7b09e0b3090b1921.tar.bz2 |
The geolocation icon must be displayed even if the current origin change its document or query params.
We should only remove the icon when visiting a new origin or the underlying setting has changed.
BUG=40742
Review URL: http://codereview.chromium.org/1640004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44463 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 97f688a..91519c8 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -720,7 +720,8 @@ class TabContents : public PageNavigator, void ClearBlockedContentSettings(); // Resets the |geolocation_settings_| map. - void ClearGeolocationContentSettings(); + void ClearGeolocationContentSettings( + const NavigationController::LoadCommittedDetails& details); // Changes the IsLoading state and notifies delegate as needed // |details| is used to provide details on the load that just finished |