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

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

Issue 11262015: Remove unused / unnecessary stuff from Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void ShowStarBubble(const GURL& url, bool newly_bookmarked); 207 void ShowStarBubble(const GURL& url, bool newly_bookmarked);
208 208
209 // Shows the Chrome To Mobile bubble. 209 // Shows the Chrome To Mobile bubble.
210 void ShowChromeToMobileBubble(); 210 void ShowChromeToMobileBubble();
211 211
212 // Returns the screen coordinates of the location entry (where the URL text 212 // Returns the screen coordinates of the location entry (where the URL text
213 // appears, not where the icons are shown). 213 // appears, not where the icons are shown).
214 gfx::Point GetLocationEntryOrigin() const; 214 gfx::Point GetLocationEntryOrigin() const;
215 215
216 // Invoked from OmniboxViewWin to show the instant suggestion. 216 // Invoked from OmniboxViewWin to show the instant suggestion.
217 void SetInstantSuggestion(const string16& text, 217 void SetInstantSuggestion(const string16& text);
218 bool animate_to_complete);
219 218
220 // Returns the current instant suggestion text. 219 // Returns the current instant suggestion text.
221 string16 GetInstantSuggestion() const; 220 string16 GetInstantSuggestion() const;
222 221
223 // Sets whether the location entry can accept focus. 222 // Sets whether the location entry can accept focus.
224 void SetLocationEntryFocusable(bool focusable); 223 void SetLocationEntryFocusable(bool focusable);
225 224
226 // Returns true if the location entry is focusable and visible in 225 // Returns true if the location entry is focusable and visible in
227 // the root view. 226 // the root view.
228 bool IsLocationEntryFocusableInRootView() const; 227 bool IsLocationEntryFocusableInRootView() const;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 575
577 #if defined(USE_AURA) 576 #if defined(USE_AURA)
578 // Observer for a fade-in animation. 577 // Observer for a fade-in animation.
579 scoped_ptr<FadeAnimationObserver> fade_animation_observer_; 578 scoped_ptr<FadeAnimationObserver> fade_animation_observer_;
580 #endif 579 #endif
581 580
582 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 581 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
583 }; 582 };
584 583
585 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 584 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698