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

Issue 844333003: MacViews: Audit TOOLKIT_VIEWS in chrome/browser/ui (Closed)

Created:
5 years, 11 months ago by tapted
Modified:
5 years, 11 months ago
Reviewers:
msw
CC:
chromium-reviews, estade+watch_chromium.org, noyau+watch_chromium.org, rouslan+autofillwatch_chromium.org, tfarina, chrome-apps-syd-reviews_chromium.org, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Audit TOOLKIT_VIEWS in chrome/browser/ui When toolkit_views flips on Mac, the browser UI will still be Cocoa. This audits the remaining TOOLKIT_VIEWS #defines under chrome/browser/ui. Mostly constants designed for the views browser UI that will introduce UI glitches while the Cocoa UI is still used on Mac. For many of these the #elif defined(TOOLKIT_VIEWS) is redundant, but it is kept as something to grep for when the browser UI eventually becomes Views-based. BUG=439882 Committed: https://crrev.com/e47ff58b46fff50cd8add438dda3dc98bacf7885 Cr-Commit-Position: refs/heads/master@{#311368}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Simpler #if condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M chrome/browser/ui/autofill/card_unmask_prompt_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_bar_constants.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/infobar_container_delegate.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/tabs/tab_resources.cc View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
tapted
Hi Michael, please take a look
5 years, 11 months ago (2015-01-13 02:13:32 UTC) #2
msw
lgtm with one nit suggestion. https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc File chrome/browser/ui/autofill/card_unmask_prompt_view.cc (right): https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc#newcode10 chrome/browser/ui/autofill/card_unmask_prompt_view.cc:10: #if !defined(OS_ANDROID) && !defined(TOOLKIT_VIEWS) ...
5 years, 11 months ago (2015-01-13 20:22:24 UTC) #3
tapted
https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc File chrome/browser/ui/autofill/card_unmask_prompt_view.cc (right): https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc#newcode10 chrome/browser/ui/autofill/card_unmask_prompt_view.cc:10: #if !defined(OS_ANDROID) && !defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) On 2015/01/13 20:22:24, ...
5 years, 11 months ago (2015-01-14 00:07:38 UTC) #5
msw
slgtm https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc File chrome/browser/ui/autofill/card_unmask_prompt_view.cc (right): https://codereview.chromium.org/844333003/diff/1/chrome/browser/ui/autofill/card_unmask_prompt_view.cc#newcode10 chrome/browser/ui/autofill/card_unmask_prompt_view.cc:10: #if !defined(OS_ANDROID) && !defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) On 2015/01/14 ...
5 years, 11 months ago (2015-01-14 00:09:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/844333003/40001
5 years, 11 months ago (2015-01-14 00:11:36 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 11 months ago (2015-01-14 00:13:39 UTC) #9
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 00:16:08 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e47ff58b46fff50cd8add438dda3dc98bacf7885
Cr-Commit-Position: refs/heads/master@{#311368}

Powered by Google App Engine
This is Rietveld 408576698