summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 22:25:34 +0000
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 22:25:34 +0000
commitdc2cad71ffdcf2799cf4bc450882c6d8c4d61efd (patch)
treed4adebe53539ce7c278cafc82127663adc7dc9ac
parentcc8f5e62b097459556efbe97943eb03f4f2fbf1a (diff)
downloadchromium_src-dc2cad71ffdcf2799cf4bc450882c6d8c4d61efd.zip
chromium_src-dc2cad71ffdcf2799cf4bc450882c6d8c4d61efd.tar.gz
chromium_src-dc2cad71ffdcf2799cf4bc450882c6d8c4d61efd.tar.bz2
Changing the header color for guest mode from incognito colors to normal colors
BUG=151126 TEST=visual Review URL: https://chromiumcodereview.appspot.com/11359108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166779 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index c1fd601..12f4f02 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -449,7 +449,8 @@ void BrowserNonClientFrameViewAsh::PaintContentEdge(gfx::Canvas* canvas) {
}
int BrowserNonClientFrameViewAsh::GetThemeFrameImageId() const {
- bool is_incognito = browser_view()->IsOffTheRecord();
+ bool is_incognito = browser_view()->IsOffTheRecord() &&
+ !browser_view()->IsGuestSession();
if (browser_view()->IsBrowserTypeNormal()) {
// Use the standard resource ids to allow users to theme the frames.
if (ShouldPaintAsActive()) {