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

Side by Side Diff: chrome/browser/ui/location_bar/location_bar.h

Issue 1855423003: Interpret '?' and Ctrl-K or Ctrl-E as putting omnibox in keyword search mode for Default Search Pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add includes for mac tests Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 5 #ifndef CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 30 matching lines...) Expand all
41 virtual GURL GetDestinationURL() const = 0; 41 virtual GURL GetDestinationURL() const = 0;
42 virtual WindowOpenDisposition GetWindowOpenDisposition() const = 0; 42 virtual WindowOpenDisposition GetWindowOpenDisposition() const = 0;
43 virtual ui::PageTransition GetPageTransition() const = 0; 43 virtual ui::PageTransition GetPageTransition() const = 0;
44 44
45 // Accepts the current string of text entered in the location bar. 45 // Accepts the current string of text entered in the location bar.
46 virtual void AcceptInput() = 0; 46 virtual void AcceptInput() = 0;
47 47
48 // Focuses the location bar. Optionally also selects its contents. 48 // Focuses the location bar. Optionally also selects its contents.
49 virtual void FocusLocation(bool select_all) = 0; 49 virtual void FocusLocation(bool select_all) = 0;
50 50
51 // Clears the location bar, inserts an annoying little "?" turd and sets 51 // Puts the user into keyword mode with their default search provider.
52 // focus to it.
53 virtual void FocusSearch() = 0; 52 virtual void FocusSearch() = 0;
54 53
55 // Updates the state of the images showing the content settings status. 54 // Updates the state of the images showing the content settings status.
56 virtual void UpdateContentSettingsIcons() = 0; 55 virtual void UpdateContentSettingsIcons() = 0;
57 56
58 // Updates the password icon and pops up a bubble from the icon if needed. 57 // Updates the password icon and pops up a bubble from the icon if needed.
59 virtual void UpdateManagePasswordsIconAndBubble() = 0; 58 virtual void UpdateManagePasswordsIconAndBubble() = 0;
60 59
61 // Updates the visibility and toggled state of the save credit card icon. 60 // Updates the visibility and toggled state of the save credit card icon.
62 virtual void UpdateSaveCreditCardIcon() = 0; 61 virtual void UpdateSaveCreditCardIcon() = 0;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void TestPageActionPressed(size_t index) = 0; 124 virtual void TestPageActionPressed(size_t index) = 0;
126 125
127 // Returns whether or not the bookmark star decoration is visible. 126 // Returns whether or not the bookmark star decoration is visible.
128 virtual bool GetBookmarkStarVisibility() = 0; 127 virtual bool GetBookmarkStarVisibility() = 0;
129 128
130 protected: 129 protected:
131 virtual ~LocationBarTesting() {} 130 virtual ~LocationBarTesting() {}
132 }; 131 };
133 132
134 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 133 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698