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

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

Issue 6252003: Accept keyword by pressing space. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 WindowOpenDisposition disposition, 203 WindowOpenDisposition disposition,
204 PageTransition::Type transition, 204 PageTransition::Type transition,
205 const GURL& alternate_nav_url); 205 const GURL& alternate_nav_url);
206 virtual void OnChanged(); 206 virtual void OnChanged();
207 virtual void OnSelectionBoundsChanged(); 207 virtual void OnSelectionBoundsChanged();
208 virtual void OnInputInProgress(bool in_progress); 208 virtual void OnInputInProgress(bool in_progress);
209 virtual void OnKillFocus(); 209 virtual void OnKillFocus();
210 virtual void OnSetFocus(); 210 virtual void OnSetFocus();
211 virtual SkBitmap GetFavIcon() const; 211 virtual SkBitmap GetFavIcon() const;
212 virtual std::wstring GetTitle() const; 212 virtual std::wstring GetTitle() const;
213 virtual bool IsKeywordHintVisible() const;
213 214
214 // Overridden from views::View: 215 // Overridden from views::View:
215 virtual std::string GetClassName() const; 216 virtual std::string GetClassName() const;
216 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); 217 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e);
217 virtual AccessibilityTypes::Role GetAccessibleRole(); 218 virtual AccessibilityTypes::Role GetAccessibleRole();
218 219
219 // Overridden from views::DragController: 220 // Overridden from views::DragController:
220 virtual void WriteDragData(View* sender, 221 virtual void WriteDragData(View* sender,
221 const gfx::Point& press_pt, 222 const gfx::Point& press_pt,
222 OSExchangeData* data); 223 OSExchangeData* data);
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // Should instant be updated? This is set to false in OnAutocompleteWillAccept 412 // Should instant be updated? This is set to false in OnAutocompleteWillAccept
412 // and true in OnAutocompleteAccept. This is needed as prior to accepting an 413 // and true in OnAutocompleteAccept. This is needed as prior to accepting an
413 // autocomplete suggestion the model is reverted which triggers resetting 414 // autocomplete suggestion the model is reverted which triggers resetting
414 // instant. 415 // instant.
415 bool update_instant_; 416 bool update_instant_;
416 417
417 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 418 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
418 }; 419 };
419 420
420 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 421 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698