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

Side by Side Diff: chrome/browser/ui/panels/old_panel.h

Issue 10827259: Change panels to use gfx::Image instead of SkBitmap for favicon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: applied change to panel_titlebar_gtk.cc after syncing 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_PANELS_OLD_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_
7 7
8 #include "chrome/browser/ui/panels/panel.h" 8 #include "chrome/browser/ui/panels/panel.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 12 matching lines...) Expand all
23 virtual BrowserWindow* browser_window() const OVERRIDE; 23 virtual BrowserWindow* browser_window() const OVERRIDE;
24 virtual CommandUpdater* command_updater() OVERRIDE; 24 virtual CommandUpdater* command_updater() OVERRIDE;
25 virtual Profile* profile() const OVERRIDE; 25 virtual Profile* profile() const OVERRIDE;
26 virtual void Initialize(const gfx::Rect& bounds, Browser* browser) OVERRIDE; 26 virtual void Initialize(const gfx::Rect& bounds, Browser* browser) OVERRIDE;
27 virtual content::WebContents* GetWebContents() const OVERRIDE; 27 virtual content::WebContents* GetWebContents() const OVERRIDE;
28 virtual bool ShouldCloseWindow() OVERRIDE; 28 virtual bool ShouldCloseWindow() OVERRIDE;
29 virtual void OnWindowClosing() OVERRIDE; 29 virtual void OnWindowClosing() OVERRIDE;
30 virtual void ExecuteCommandWithDisposition( 30 virtual void ExecuteCommandWithDisposition(
31 int id, 31 int id,
32 WindowOpenDisposition disposition) OVERRIDE; 32 WindowOpenDisposition disposition) OVERRIDE;
33 virtual SkBitmap GetCurrentPageIcon() const OVERRIDE; 33 virtual gfx::Image GetCurrentPageIcon() const OVERRIDE;
34 34
35 private: 35 private:
36 Browser* browser_; // Weak pointer. Owned by native panel. 36 Browser* browser_; // Weak pointer. Owned by native panel.
37 37
38 // A BrowserWindow for the browser to interact with. 38 // A BrowserWindow for the browser to interact with.
39 scoped_ptr<PanelBrowserWindow> panel_browser_window_; 39 scoped_ptr<PanelBrowserWindow> panel_browser_window_;
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ 42 #endif // CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.cc ('k') | chrome/browser/ui/panels/old_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698