From 90791cb7bac6fd9ddfaf933bad3f9b5e13625db5 Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Tue, 27 Jan 2009 03:39:30 +0000 Subject: Revert change 8693 because it breaks the unit_tests. TBR Review URL: http://codereview.chromium.org/19009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8704 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/location_bar.h | 44 ------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 chrome/browser/location_bar.h (limited to 'chrome/browser/location_bar.h') diff --git a/chrome/browser/location_bar.h b/chrome/browser/location_bar.h deleted file mode 100644 index 0e6bc83..0000000 --- a/chrome/browser/location_bar.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2009 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. - -#ifndef CHROME_BROWSER_LOCATION_BAR_H_ -#define CHROME_BROWSER_LOCATION_BAR_H_ - -//////////////////////////////////////////////////////////////////////////////// -// LocationBar -// An interface providing access to the Location Bar component of the browser -// window. -// -class LocationBar { - public: - // Shows the first run information bubble anchored to the location bar. - virtual void ShowFirstRunBubble() = 0; - - // Returns the string of text entered in the location bar. - virtual std::wstring GetInputString() const = 0; - - // Returns the WindowOpenDisposition that should be used to determine where to - // open a URL entered in the location bar. - virtual WindowOpenDisposition GetWindowOpenDisposition() const = 0; - - // Returns the PageTransition that should be recorded in history when the URL - // entered in the location bar is loaded. - virtual PageTransition::Type GetPageTransition() const = 0; - - // Accepts the current string of text entered in the location bar. - virtual void AcceptInput() = 0; - - // Focuses and selects the contents of the location bar. - virtual void FocusLocation() = 0; - - // Clears the location bar, inserts an annoying little "?" turd and sets focus - // to it. - virtual void FocusSearch() = 0; - - // Saves the state of the location bar to the specified TabContents, so that - // it can be restored later. (Done when switching tabs). - virtual void SaveStateToContents(TabContents* contents) = 0; -}; - -#endif // #ifndef CHROME_BROWSER_LOCATION_BAR_H_ -- cgit v1.1