| Index: chrome/browser/ui/views/location_bar/location_bar_view.h
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| index 83e2872ee60848e83458d6f0747c88b9593a2a0f..c2918efb00b576ea5b82f9f3405e3d3e98196cc5 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/prefs/pref_member.h"
|
| #include "chrome/browser/extensions/extension_context_menu_model.h"
|
| #include "chrome/browser/search_engines/template_url_service_observer.h"
|
| @@ -413,9 +414,6 @@ class LocationBarView : public LocationBar,
|
| // Update the view for the zoom icon based on the current tab's zoom.
|
| void RefreshZoomView();
|
|
|
| - // Sets the visibility of view to new_vis.
|
| - void ToggleVisibility(bool new_vis, views::View* view);
|
| -
|
| #if !defined(USE_AURA)
|
| // Helper for the Mouse event handlers that does all the real work.
|
| void OnMouseEvent(const ui::MouseEvent& event, UINT msg);
|
| @@ -431,6 +429,11 @@ class LocationBarView : public LocationBar,
|
| // after layout, so the |page_action_views_| have their bounds.
|
| void PaintPageActionBackgrounds(gfx::Canvas* canvas);
|
|
|
| + // Handles a request to change the value of this text field from software
|
| + // using an accessibility API (typically automation software, screen readers
|
| + // don't normally use this). Sets the value and clears the selection.
|
| + void AccessibilitySetValue(const string16& new_value);
|
| +
|
| // The Browser this LocationBarView is in. Note that at least
|
| // chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser
|
| // window, so this may be NULL.
|
| @@ -543,6 +546,9 @@ class LocationBarView : public LocationBar,
|
| // Used to register for notifications received by NotificationObserver.
|
| content::NotificationRegistrar registrar_;
|
|
|
| + // Used to bind callback functions to this object.
|
| + base::WeakPtrFactory<LocationBarView> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LocationBarView);
|
| };
|
|
|
|
|