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

Unified Diff: chrome/browser/ui/views/reload_button.cc

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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: chrome/browser/ui/views/reload_button.cc
diff --git a/chrome/browser/ui/views/reload_button.cc b/chrome/browser/ui/views/reload_button.cc
index 30ec4cf063c30fb5812afbdd870c46cdf55842cc..29704acc8341b7d6d8aa6ff8daa66a9e3a91681b 100644
--- a/chrome/browser/ui/views/reload_button.cc
+++ b/chrome/browser/ui/views/reload_button.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 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,8 +7,6 @@
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/command_updater.h"
-#include "chrome/browser/instant/search.h"
-#include "chrome/browser/ui/search/search_model.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
@@ -72,7 +70,7 @@ void ReloadButton::ChangeMode(Mode mode, bool force) {
// We want to disable the button if we're preventing a change from stop to
// reload due to hovering, but not if we're preventing a change from reload to
// stop due to the double-click timer running. (Disabled reload state is only
- // applicable when instant extended API is enabled and mode is NTP, which is
+ // applicable when Instant Extended API is enabled and mode is NTP, which is
// handled just above.)
} else if (visible_mode_ != MODE_RELOAD) {
SetEnabled(false);

Powered by Google App Engine
This is Rietveld 408576698