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

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

Issue 10834368: Convert mostly favicon related code from SkBitmap to ImageSkia and Image (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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) 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // Overridden from OmniboxEditController: 279 // Overridden from OmniboxEditController:
280 virtual void OnAutocompleteAccept(const GURL& url, 280 virtual void OnAutocompleteAccept(const GURL& url,
281 WindowOpenDisposition disposition, 281 WindowOpenDisposition disposition,
282 content::PageTransition transition, 282 content::PageTransition transition,
283 const GURL& alternate_nav_url) OVERRIDE; 283 const GURL& alternate_nav_url) OVERRIDE;
284 virtual void OnChanged() OVERRIDE; 284 virtual void OnChanged() OVERRIDE;
285 virtual void OnSelectionBoundsChanged() OVERRIDE; 285 virtual void OnSelectionBoundsChanged() OVERRIDE;
286 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 286 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
287 virtual void OnKillFocus() OVERRIDE; 287 virtual void OnKillFocus() OVERRIDE;
288 virtual void OnSetFocus() OVERRIDE; 288 virtual void OnSetFocus() OVERRIDE;
289 virtual SkBitmap GetFavicon() const OVERRIDE; 289 virtual gfx::Image GetFavicon() const OVERRIDE;
290 virtual string16 GetTitle() const OVERRIDE; 290 virtual string16 GetTitle() const OVERRIDE;
291 virtual InstantController* GetInstant() OVERRIDE; 291 virtual InstantController* GetInstant() OVERRIDE;
292 virtual TabContents* GetTabContents() const OVERRIDE; 292 virtual TabContents* GetTabContents() const OVERRIDE;
293 293
294 // Overridden from views::View: 294 // Overridden from views::View:
295 virtual std::string GetClassName() const OVERRIDE; 295 virtual std::string GetClassName() const OVERRIDE;
296 virtual bool SkipDefaultKeyEventProcessing( 296 virtual bool SkipDefaultKeyEventProcessing(
297 const ui::KeyEvent& event) OVERRIDE; 297 const ui::KeyEvent& event) OVERRIDE;
298 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 298 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
299 virtual bool HasFocus() const OVERRIDE; 299 virtual bool HasFocus() const OVERRIDE;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 562
563 #if defined(USE_AURA) 563 #if defined(USE_AURA)
564 // Observer for a fade-in animation. 564 // Observer for a fade-in animation.
565 scoped_ptr<FadeAnimationObserver> fade_animation_observer_; 565 scoped_ptr<FadeAnimationObserver> fade_animation_observer_;
566 #endif 566 #endif
567 567
568 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 568 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
569 }; 569 };
570 570
571 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 571 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698