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

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

Issue 111873004: [OriginChip] Show and select the URL on alt-d/ctrl-l. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All files this time. Created 7 years 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 (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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 views::ImageView* GetLocationIconView(); 237 views::ImageView* GetLocationIconView();
238 const views::ImageView* GetLocationIconView() const; 238 const views::ImageView* GetLocationIconView() const;
239 239
240 // Return a view suitable for anchoring location-bar-anchored bubbles to. 240 // Return a view suitable for anchoring location-bar-anchored bubbles to.
241 views::View* GetLocationBarAnchor(); 241 views::View* GetLocationBarAnchor();
242 // Return the point suitable for anchoring location-bar-anchored bubbles at. 242 // Return the point suitable for anchoring location-bar-anchored bubbles at.
243 // The point will be returned in the coordinates of the LocationBarView. 243 // The point will be returned in the coordinates of the LocationBarView.
244 gfx::Point GetLocationBarAnchorPoint() const; 244 gfx::Point GetLocationBarAnchorPoint() const;
245 245
246 views::View* omnibox_view() { return omnibox_view_; } 246 OmniboxViewViews* omnibox_view() { return omnibox_view_; }
Greg Billock 2013/12/11 21:31:14 Should this be OmniboxView and promote ShowURL to
Justin Donnelly 2013/12/12 17:11:57 ShowUrl is already in OmniboxView. I made this Om
247 247
248 views::View* generated_credit_card_view(); 248 views::View* generated_credit_card_view();
249 249
250 // OmniboxEditController: 250 // OmniboxEditController:
251 virtual void Update(const content::WebContents* contents) OVERRIDE; 251 virtual void Update(const content::WebContents* contents) OVERRIDE;
252 virtual void OnChanged() OVERRIDE; 252 virtual void OnChanged() OVERRIDE;
253 virtual void OnSetFocus() OVERRIDE; 253 virtual void OnSetFocus() OVERRIDE;
254 virtual InstantController* GetInstant() OVERRIDE; 254 virtual InstantController* GetInstant() OVERRIDE;
255 virtual content::WebContents* GetWebContents() OVERRIDE; 255 virtual content::WebContents* GetWebContents() OVERRIDE;
256 virtual ToolbarModel* GetToolbarModel() OVERRIDE; 256 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Used to register for notifications received by NotificationObserver. 522 // Used to register for notifications received by NotificationObserver.
523 content::NotificationRegistrar registrar_; 523 content::NotificationRegistrar registrar_;
524 524
525 // Used to bind callback functions to this object. 525 // Used to bind callback functions to this object.
526 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; 526 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_;
527 527
528 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 528 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
529 }; 529 };
530 530
531 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 531 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« chrome/browser/ui/omnibox/omnibox_view.h ('K') | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698