Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / toolbar / reload_button.h
index f3d1f5d..5cbdf42 100644 (file)
@@ -13,7 +13,6 @@
 #include "ui/views/controls/button/button.h"
 
 class CommandUpdater;
-class LocationBarView;
 
 ////////////////////////////////////////////////////////////////////////////////
 //
@@ -35,8 +34,7 @@ class ReloadButton : public ToolbarButton,
   // The button's class name.
   static const char kViewClassName[];
 
-  ReloadButton(LocationBarView* location_bar,
-               CommandUpdater* command_updater);
+  explicit ReloadButton(CommandUpdater* command_updater);
   virtual ~ReloadButton();
 
   // Ask for a specified button state.  If |force| is true this will be applied
@@ -84,8 +82,7 @@ class ReloadButton : public ToolbarButton,
   base::OneShotTimer<ReloadButton> double_click_timer_;
   base::OneShotTimer<ReloadButton> stop_to_reload_timer_;
 
-  // These may be NULL when testing.
-  LocationBarView* location_bar_;
+  // This may be NULL when testing.
   CommandUpdater* command_updater_;
 
   // The mode we should be in assuming no timers are running.