OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |