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

Unified Diff: chrome/browser/ui/gtk/browser_toolbar_gtk.h

Issue 7574021: Remove frontend code that allows for dynamic profile setting, and read the profile off the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/browser_toolbar_gtk.h
===================================================================
--- chrome/browser/ui/gtk/browser_toolbar_gtk.h (revision 95527)
+++ chrome/browser/ui/gtk/browser_toolbar_gtk.h (working copy)
@@ -31,7 +31,6 @@
class GtkThemeService;
class LocationBar;
class LocationBarViewGtk;
-class Profile;
class ReloadButtonGtk;
class TabContents;
class ToolbarModel;
@@ -48,7 +47,7 @@
// Create the contents of the toolbar. |top_level_window| is the GtkWindow
// to which we attach our accelerators.
- void Init(Profile* profile, GtkWindow* top_level_window);
+ void Init(GtkWindow* top_level_window);
// Set the various widgets' ViewIDs.
void SetViewIDs();
@@ -101,9 +100,6 @@
const NotificationSource& source,
const NotificationDetails& details);
- Profile* profile() { return profile_; }
- void SetProfile(Profile* profile);
-
// Message that we should react to a state change.
void UpdateTabContents(TabContents* contents, bool should_restore_state);
@@ -194,7 +190,6 @@
Browser* browser_;
BrowserWindowGtk* window_;
- Profile* profile_;
// Controls whether or not a home button should be shown on the toolbar.
BooleanPrefMember show_home_button_;
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698