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

Side by Side Diff: chrome/browser/browser.h

Issue 62167: Distributor logo and " - App Name" shouldn't be shown on app frame windows.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #include <set> 10 #include <set>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // Gets the FavIcon of the page in the selected tab. 167 // Gets the FavIcon of the page in the selected tab.
168 SkBitmap GetCurrentPageIcon() const; 168 SkBitmap GetCurrentPageIcon() const;
169 169
170 // Gets the title of the page in the selected tab. 170 // Gets the title of the page in the selected tab.
171 std::wstring GetCurrentPageTitle() const; 171 std::wstring GetCurrentPageTitle() const;
172 172
173 // Prepares a title string for display (removes embedded newlines, etc). 173 // Prepares a title string for display (removes embedded newlines, etc).
174 static void FormatTitleForDisplay(std::wstring* title); 174 static void FormatTitleForDisplay(std::wstring* title);
175 175
176 // Returns true if the frame should show a distributor logo for this Browser.
177 bool ShouldShowDistributorLogo() const;
178
176 // OnBeforeUnload handling ////////////////////////////////////////////////// 179 // OnBeforeUnload handling //////////////////////////////////////////////////
177 180
178 // Gives beforeunload handlers the chance to cancel the close. 181 // Gives beforeunload handlers the chance to cancel the close.
179 bool ShouldCloseWindow(); 182 bool ShouldCloseWindow();
180 183
181 // Invoked when the window containing us is closing. Performs the necessary 184 // Invoked when the window containing us is closing. Performs the necessary
182 // cleanup. 185 // cleanup.
183 void OnWindowClosing(); 186 void OnWindowClosing();
184 187
185 // TabStripModel pass-thrus ///////////////////////////////////////////////// 188 // TabStripModel pass-thrus /////////////////////////////////////////////////
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 // The browser idle task helps cleanup unused memory resources when idle. 691 // The browser idle task helps cleanup unused memory resources when idle.
689 scoped_ptr<BrowserIdleTimer> idle_task_; 692 scoped_ptr<BrowserIdleTimer> idle_task_;
690 693
691 // Keep track of the encoding auto detect pref. 694 // Keep track of the encoding auto detect pref.
692 BooleanPrefMember encoding_auto_detect_; 695 BooleanPrefMember encoding_auto_detect_;
693 696
694 DISALLOW_COPY_AND_ASSIGN(Browser); 697 DISALLOW_COPY_AND_ASSIGN(Browser);
695 }; 698 };
696 699
697 #endif // CHROME_BROWSER_BROWSER_H_ 700 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698