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

Unified Diff: chrome/browser/browser.h

Issue 19746: Remove old web app code it's no longer needed. Simplifies startup a little. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/browser/browser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 9030)
+++ chrome/browser/browser.h (working copy)
@@ -42,7 +42,6 @@
class Profile;
class StatusBubble;
class TabNavigation;
-class WebApp;
class Browser : public TabStripModelDelegate,
public TabStripModelObserver,
@@ -124,8 +123,8 @@
// |profile|, that session is re-used.
static void OpenURLOffTheRecord(Profile* profile, const GURL& url);
- // Opens the a new application window for the specified WebApp.
- static void OpenWebApplication(Profile* profile, WebApp* app);
+ // Opens the a new application ("thin frame") window for the specified url.
+ static void OpenApplicationWindow(Profile* profile, const GURL& url);
// State Storage and Retrieval for UI ///////////////////////////////////////
@@ -192,13 +191,6 @@
PageTransition::Type transition, bool foreground,
SiteInstance* instance);
- // Add a new application tab for the specified URL. If lazy is true, the tab
- // won't be selected. Further, the initial web page load will only take place
- // when the tab is first selected.
- TabContents* AddWebApplicationTab(Profile* profile,
- WebApp* web_app,
- bool lazy);
-
// Add a new tab, given a NavigationController. A TabContents appropriate to
// display the last committed entry is created and returned.
TabContents* AddTabWithNavigationController(NavigationController* ctrl,
@@ -537,6 +529,8 @@
// after a return to the message loop.
void CloseFrame();
+#endif // OS_WIN
+
// Compute a deterministic name based on the URL. We use this pseudo name
// as a key to store window location per application URLs.
static std::wstring ComputeApplicationNameFromURL(const GURL& url);
@@ -545,8 +539,6 @@
// done only once per application name / per session.
static void RegisterAppPrefs(const std::wstring& app_name);
-#endif // OS_WIN
-
// Data members /////////////////////////////////////////////////////////////
// This Browser's type.
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/browser/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698