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

Side by Side Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc

Issue 2129373002: Replace all occurrences of words meaning "off the record" with "incognito" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" 5 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 } 377 }
378 378
379 bool OpaqueBrowserFrameView::ShouldShowCaptionButtons() const { 379 bool OpaqueBrowserFrameView::ShouldShowCaptionButtons() const {
380 return ShouldShowWindowTitleBar(); 380 return ShouldShowWindowTitleBar();
381 } 381 }
382 382
383 bool OpaqueBrowserFrameView::IsRegularOrGuestSession() const { 383 bool OpaqueBrowserFrameView::IsRegularOrGuestSession() const {
384 return browser_view()->IsRegularOrGuestSession(); 384 return browser_view()->IsRegularOrGuestSession();
385 } 385 }
386 386
387 gfx::ImageSkia OpaqueBrowserFrameView::GetOTRAvatarIcon() const { 387 gfx::ImageSkia OpaqueBrowserFrameView::GetIncognitoAvatarIcon() const {
388 return BrowserNonClientFrameView::GetOTRAvatarIcon(); 388 return BrowserNonClientFrameView::GetIncognitoAvatarIcon();
389 } 389 }
390 390
391 bool OpaqueBrowserFrameView::IsMaximized() const { 391 bool OpaqueBrowserFrameView::IsMaximized() const {
392 return frame()->IsMaximized(); 392 return frame()->IsMaximized();
393 } 393 }
394 394
395 bool OpaqueBrowserFrameView::IsMinimized() const { 395 bool OpaqueBrowserFrameView::IsMinimized() const {
396 return frame()->IsMinimized(); 396 return frame()->IsMinimized();
397 } 397 }
398 398
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 gfx::Rect side(x, y, kClientEdgeThickness, h); 822 gfx::Rect side(x, y, kClientEdgeThickness, h);
823 canvas->FillRect(side, color); 823 canvas->FillRect(side, color);
824 if (draw_bottom) { 824 if (draw_bottom) {
825 canvas->FillRect(gfx::Rect(x, y + h, w + (2 * kClientEdgeThickness), 825 canvas->FillRect(gfx::Rect(x, y + h, w + (2 * kClientEdgeThickness),
826 kClientEdgeThickness), 826 kClientEdgeThickness),
827 color); 827 color);
828 } 828 }
829 side.Offset(w + kClientEdgeThickness, 0); 829 side.Offset(w + kClientEdgeThickness, 0);
830 canvas->FillRect(side, color); 830 canvas->FillRect(side, color);
831 } 831 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698