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

Side by Side Diff: chrome/browser/ui/browser.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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class BrowserContentSettingBubbleModelDelegate; 47 class BrowserContentSettingBubbleModelDelegate;
48 class BrowserSyncedWindowDelegate; 48 class BrowserSyncedWindowDelegate;
49 class BrowserToolbarModelDelegate; 49 class BrowserToolbarModelDelegate;
50 class BrowserTabRestoreServiceDelegate; 50 class BrowserTabRestoreServiceDelegate;
51 class BrowserWindow; 51 class BrowserWindow;
52 class DeviceAttachedIntentSource; 52 class DeviceAttachedIntentSource;
53 class FindBarController; 53 class FindBarController;
54 class FullscreenController; 54 class FullscreenController;
55 class PrefService; 55 class PrefService;
56 class Profile; 56 class Profile;
57 class SkBitmap;
58 class StatusBubble; 57 class StatusBubble;
59 class TabNavigation; 58 class TabNavigation;
60 class TabStripModel; 59 class TabStripModel;
61 class TabStripModelDelegate; 60 class TabStripModelDelegate;
62 struct WebApplicationInfo; 61 struct WebApplicationInfo;
63 62
64 namespace chrome { 63 namespace chrome {
65 class BrowserCommandController; 64 class BrowserCommandController;
66 class BrowserInstantController; 65 class BrowserInstantController;
67 class UnloadController; 66 class UnloadController;
68 namespace search { 67 namespace search {
69 class SearchDelegate; 68 class SearchDelegate;
70 class SearchModel; 69 class SearchModel;
71 } 70 }
72 } 71 }
73 72
74 namespace content { 73 namespace content {
75 class NavigationController; 74 class NavigationController;
76 class SessionStorageNamespace; 75 class SessionStorageNamespace;
77 } 76 }
78 77
79 namespace extensions { 78 namespace extensions {
80 class Extension; 79 class Extension;
81 class WindowController; 80 class WindowController;
82 } 81 }
83 82
84 namespace gfx { 83 namespace gfx {
84 class Image;
85 class Point; 85 class Point;
86 } 86 }
87 87
88 namespace ui { 88 namespace ui {
89 struct SelectedFileInfo; 89 struct SelectedFileInfo;
90 class WebDialogDelegate; 90 class WebDialogDelegate;
91 } 91 }
92 92
93 namespace webkit_glue { 93 namespace webkit_glue {
94 struct WebIntentServiceData; 94 struct WebIntentServiceData;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 // Returns true if a FindBarController exists for this browser. 275 // Returns true if a FindBarController exists for this browser.
276 bool HasFindBarController() const; 276 bool HasFindBarController() const;
277 277
278 // Returns the state of the bookmark bar. 278 // Returns the state of the bookmark bar.
279 BookmarkBar::State bookmark_bar_state() const { return bookmark_bar_state_; } 279 BookmarkBar::State bookmark_bar_state() const { return bookmark_bar_state_; }
280 280
281 // State Storage and Retrieval for UI /////////////////////////////////////// 281 // State Storage and Retrieval for UI ///////////////////////////////////////
282 282
283 // Gets the Favicon of the page in the selected tab. 283 // Gets the Favicon of the page in the selected tab.
284 SkBitmap GetCurrentPageIcon() const; 284 gfx::Image GetCurrentPageIcon() const;
285 285
286 // Gets the title of the window based on the selected tab's title. 286 // Gets the title of the window based on the selected tab's title.
287 string16 GetWindowTitleForCurrentTab() const; 287 string16 GetWindowTitleForCurrentTab() const;
288 288
289 // Prepares a title string for display (removes embedded newlines, etc). 289 // Prepares a title string for display (removes embedded newlines, etc).
290 static void FormatTitleForDisplay(string16* title); 290 static void FormatTitleForDisplay(string16* title);
291 291
292 // OnBeforeUnload handling ////////////////////////////////////////////////// 292 // OnBeforeUnload handling //////////////////////////////////////////////////
293 293
294 // Gives beforeunload handlers the chance to cancel the close. 294 // Gives beforeunload handlers the chance to cancel the close.
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 bool window_has_shown_; 923 bool window_has_shown_;
924 924
925 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 925 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
926 // before DidEndColorChooser is called. 926 // before DidEndColorChooser is called.
927 scoped_ptr<content::ColorChooser> color_chooser_; 927 scoped_ptr<content::ColorChooser> color_chooser_;
928 928
929 DISALLOW_COPY_AND_ASSIGN(Browser); 929 DISALLOW_COPY_AND_ASSIGN(Browser);
930 }; 930 };
931 931
932 #endif // CHROME_BROWSER_UI_BROWSER_H_ 932 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698