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

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

Issue 6359002: Removes some code we no longer care about. (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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 virtual bool OnMouseDragged(const views::MouseEvent& event); 190 virtual bool OnMouseDragged(const views::MouseEvent& event);
191 virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled); 191 virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled);
192 #endif 192 #endif
193 193
194 // AutocompleteEditController 194 // AutocompleteEditController
195 virtual void OnAutocompleteWillClosePopup(); 195 virtual void OnAutocompleteWillClosePopup();
196 virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus); 196 virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus);
197 virtual void OnAutocompleteWillAccept(); 197 virtual void OnAutocompleteWillAccept();
198 virtual bool OnCommitSuggestedText(const std::wstring& typed_text); 198 virtual bool OnCommitSuggestedText(const std::wstring& typed_text);
199 virtual bool AcceptCurrentInstantPreview(); 199 virtual bool AcceptCurrentInstantPreview();
200 virtual void OnSetSuggestedSearchText(const string16& suggested_text);
201 virtual void OnPopupBoundsChanged(const gfx::Rect& bounds); 200 virtual void OnPopupBoundsChanged(const gfx::Rect& bounds);
202 virtual void OnAutocompleteAccept(const GURL& url, 201 virtual void OnAutocompleteAccept(const GURL& url,
203 WindowOpenDisposition disposition, 202 WindowOpenDisposition disposition,
204 PageTransition::Type transition, 203 PageTransition::Type transition,
205 const GURL& alternate_nav_url); 204 const GURL& alternate_nav_url);
206 virtual void OnChanged(); 205 virtual void OnChanged();
207 virtual void OnSelectionBoundsChanged(); 206 virtual void OnSelectionBoundsChanged();
208 virtual void OnInputInProgress(bool in_progress); 207 virtual void OnInputInProgress(bool in_progress);
209 virtual void OnKillFocus(); 208 virtual void OnKillFocus();
210 virtual void OnSetFocus(); 209 virtual void OnSetFocus();
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // Should instant be updated? This is set to false in OnAutocompleteWillAccept 410 // Should instant be updated? This is set to false in OnAutocompleteWillAccept
412 // and true in OnAutocompleteAccept. This is needed as prior to accepting an 411 // and true in OnAutocompleteAccept. This is needed as prior to accepting an
413 // autocomplete suggestion the model is reverted which triggers resetting 412 // autocomplete suggestion the model is reverted which triggers resetting
414 // instant. 413 // instant.
415 bool update_instant_; 414 bool update_instant_;
416 415
417 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 416 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
418 }; 417 };
419 418
420 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 419 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698