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

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

Issue 75873002: [SiteChip] Add the basic painting of the site chip button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move painter, etc. 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 | Annotate | Revision Log
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 const views::ImageView* GetLocationIconView() const; 239 const views::ImageView* GetLocationIconView() const;
240 240
241 // Return a view suitable for anchoring location-bar-anchored bubbles to. 241 // Return a view suitable for anchoring location-bar-anchored bubbles to.
242 views::View* GetLocationBarAnchor(); 242 views::View* GetLocationBarAnchor();
243 // Return the point suitable for anchoring location-bar-anchored bubbles at. 243 // Return the point suitable for anchoring location-bar-anchored bubbles at.
244 // The point will be returned in the coordinates of the LocationBarView. 244 // The point will be returned in the coordinates of the LocationBarView.
245 gfx::Point GetLocationBarAnchorPoint() const; 245 gfx::Point GetLocationBarAnchorPoint() const;
246 246
247 views::View* omnibox_view() { return omnibox_view_; } 247 views::View* omnibox_view() { return omnibox_view_; }
248 248
249 const gfx::FontList& GetOmniboxFontList() const;
250
249 views::View* generated_credit_card_view(); 251 views::View* generated_credit_card_view();
250 252
251 // OmniboxEditController: 253 // OmniboxEditController:
252 virtual void Update(const content::WebContents* contents) OVERRIDE; 254 virtual void Update(const content::WebContents* contents) OVERRIDE;
253 virtual void OnChanged() OVERRIDE; 255 virtual void OnChanged() OVERRIDE;
254 virtual void OnSetFocus() OVERRIDE; 256 virtual void OnSetFocus() OVERRIDE;
255 virtual InstantController* GetInstant() OVERRIDE; 257 virtual InstantController* GetInstant() OVERRIDE;
256 virtual content::WebContents* GetWebContents() OVERRIDE; 258 virtual content::WebContents* GetWebContents() OVERRIDE;
257 virtual ToolbarModel* GetToolbarModel() OVERRIDE; 259 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
258 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE; 260 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 // Used to register for notifications received by NotificationObserver. 522 // Used to register for notifications received by NotificationObserver.
521 content::NotificationRegistrar registrar_; 523 content::NotificationRegistrar registrar_;
522 524
523 // Used to bind callback functions to this object. 525 // Used to bind callback functions to this object.
524 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; 526 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_;
525 527
526 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 528 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
527 }; 529 };
528 530
529 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 531 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698