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

Unified Diff: chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_header_painter_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
diff --git a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
index 78994e84364171a5a32b1e034ba7da8e871b502c..ea89f608e24d9bf26679a314e03a34a6fd1e413b 100644
--- a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
+++ b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
@@ -160,19 +160,15 @@ void BrowserDesktopWindowTreeHostWin::PostHandleMSG(UINT message,
UpdateDWMFrame();
// Windows lies to us about the position of the minimize button before a
- // window is visible. We use this position to place the OTR avatar in RTL
- // mode, so when the window is shown, we need to re-layout and schedule a
- // paint for the non-client frame view so that the icon top has the
- // correct
- // position when the window becomes visible. This fixes bugs where the
- // icon
- // appears to overlay the minimize button.
- // Note that we will call Layout every time SetWindowPos is called with
- // SWP_SHOWWINDOW, however callers typically are careful about not
- // specifying this flag unless necessary to avoid flicker.
- // This may be invoked during creation on XP and before the
- // non_client_view
- // has been created.
+ // window is visible. We use this position to place the incognito avatar
+ // in RTL mode, so when the window is shown, we need to re-layout and
+ // schedule a paint for the non-client frame view so that the icon top has
+ // the correct position when the window becomes visible. This fixes bugs
+ // where the icon appears to overlay the minimize button. Note that we
+ // will call Layout every time SetWindowPos is called with SWP_SHOWWINDOW,
+ // however callers typically are careful about not specifying this flag
+ // unless necessary to avoid flicker. This may be invoked during creation
+ // on XP and before the non_client_view has been created.
WINDOWPOS* window_pos = reinterpret_cast<WINDOWPOS*>(l_param);
if (window_pos->flags & SWP_SHOWWINDOW &&
GetWidget()->non_client_view()) {
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_header_painter_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698