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

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: 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 views::ImageView* GetLocationIconView(); 242 views::ImageView* GetLocationIconView();
243 const views::ImageView* GetLocationIconView() const; 243 const views::ImageView* GetLocationIconView() const;
244 244
245 // Return a view suitable for anchoring location-bar-anchored bubbles to. 245 // Return a view suitable for anchoring location-bar-anchored bubbles to.
246 views::View* GetLocationBarAnchor(); 246 views::View* GetLocationBarAnchor();
247 // Return the point suitable for anchoring location-bar-anchored bubbles at. 247 // Return the point suitable for anchoring location-bar-anchored bubbles at.
248 // The point will be returned in the coordinates of the LocationBarView. 248 // The point will be returned in the coordinates of the LocationBarView.
249 gfx::Point GetLocationBarAnchorPoint() const; 249 gfx::Point GetLocationBarAnchorPoint() const;
250 250
251 views::View* omnibox_view() { return omnibox_view_; } 251 OmniboxViewViews* omnibox_view() { return omnibox_view_; }
252 252
253 views::View* generated_credit_card_view(); 253 views::View* generated_credit_card_view();
254 254
255 // OmniboxEditController: 255 // OmniboxEditController:
256 virtual void Update(const content::WebContents* contents) OVERRIDE; 256 virtual void Update(const content::WebContents* contents) OVERRIDE;
257 virtual void OnChanged() OVERRIDE; 257 virtual void OnChanged() OVERRIDE;
258 virtual void OnSetFocus() OVERRIDE; 258 virtual void OnSetFocus() OVERRIDE;
259 virtual InstantController* GetInstant() OVERRIDE; 259 virtual InstantController* GetInstant() OVERRIDE;
260 virtual content::WebContents* GetWebContents() OVERRIDE; 260 virtual content::WebContents* GetWebContents() OVERRIDE;
261 virtual ToolbarModel* GetToolbarModel() OVERRIDE; 261 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 // Used to register for notifications received by NotificationObserver. 533 // Used to register for notifications received by NotificationObserver.
534 content::NotificationRegistrar registrar_; 534 content::NotificationRegistrar registrar_;
535 535
536 // Used to bind callback functions to this object. 536 // Used to bind callback functions to this object.
537 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; 537 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_;
538 538
539 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 539 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
540 }; 540 };
541 541
542 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 542 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « 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