From 6de74456d80f1f458509ec61c353b7ba2c728b84 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Wed, 25 Feb 2009 18:04:59 +0000 Subject: Delete the ViewSourceTabContents. This removes all the tab contents type stuff for view source mode. The RenderViewHostManager now automatically switches RenderViews when we turn view source mode on or off to get the desired effect. I also moved some instances of hardcoded schemes into chrome_constants.h, and renamed RendererCreated/Ready/Gone to RenderViewCreated/Ready/Gone to reflect what they actually mean. Review URL: http://codereview.chromium.org/28089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10346 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_constants.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'chrome/common/chrome_constants.h') diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index 0ddf579..681f6f4 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -4,8 +4,8 @@ // A handful of resource-like constants related to the Chrome application. -#ifndef CHROME_COMMON_CHROME_CONSTANTS_H__ -#define CHROME_COMMON_CHROME_CONSTANTS_H__ +#ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ +#define CHROME_COMMON_CHROME_CONSTANTS_H_ #include "base/file_path.h" @@ -45,7 +45,8 @@ extern const int kStatsMaxThreads; extern const int kStatsMaxCounters; extern const bool kRecordModeEnabled; -} -#endif // CHROME_COMMON_CHROME_CONSTANTS_H__ +} // namespace chrome + +#endif // CHROME_COMMON_CHROME_CONSTANTS_H_ -- cgit v1.1