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

Issue 196133012: Fix incorrect use of AXState caused when refactoring two enums into one. (Closed)

Created:
6 years, 9 months ago by dmazzoni
Modified:
6 years, 9 months ago
Reviewers:
mpichlinski, sky
CC:
chromium-reviews, asanka, sadrul, yusukes+watch_chromium.org, plundblad+watch_chromium.org, nona+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, yukishiino+watch_chromium.org, penghuang+watch_chromium.org, yuzo+watch_chromium.org, benjhayden+dwatch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, James Su, ben+ash_chromium.org
Visibility:
Public.

Description

Fix incorrect use of AXState caused when refactoring two enums into one. (Was broken by r253207.) BUG=347450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259718

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Use SetStateFlag instead of bit shifting #

Patch Set 4 : Rebase #

Patch Set 5 : Fix win errors #

Patch Set 6 : Fix win warning #

Patch Set 7 : Add dependency #

Total comments: 7

Patch Set 8 : Make state_ private #

Total comments: 4

Patch Set 9 : Rename SetStateFlag -> AddStateFlag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -55 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/tray/hover_highlight_view.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/ax_view_state.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M ui/accessibility/ax_view_state.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -2 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.cc View 1 2 3 4 3 chunks +18 lines, -18 lines 0 comments Download
M ui/views/controls/button/checkbox.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M ui/views/controls/button/menu_button.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/label.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/label_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/menu/menu_item_view.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M ui/views/controls/menu/menu_scroll_view_container.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/progress_bar.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/progress_bar_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/controls/tree/tree_view.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
dmazzoni
6 years, 9 months ago (2014-03-14 19:20:57 UTC) #1
mpichlinski
Maybe it would be a good idea to hide state in AXViewState and expose interface ...
6 years, 9 months ago (2014-03-17 08:05:34 UTC) #2
dmazzoni
On 2014/03/17 08:05:34, mpichlinski wrote: > Maybe it would be a good idea to hide ...
6 years, 9 months ago (2014-03-18 07:53:42 UTC) #3
mpichlinski
https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h File ui/accessibility/ax_view_state.h (right): https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h#newcode30 ui/accessibility/ax_view_state.h:30: void SetStateFlag(ui::AXState state); This only adds flags, its for ...
6 years, 9 months ago (2014-03-18 08:32:33 UTC) #4
dmazzoni
https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h File ui/accessibility/ax_view_state.h (right): https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h#newcode30 ui/accessibility/ax_view_state.h:30: void SetStateFlag(ui::AXState state); On 2014/03/18 08:32:34, mpichlinski wrote: > ...
6 years, 9 months ago (2014-03-22 14:28:00 UTC) #5
mpichlinski
https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h File ui/accessibility/ax_view_state.h (right): https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h#newcode30 ui/accessibility/ax_view_state.h:30: void SetStateFlag(ui::AXState state); On 2014/03/22 14:28:01, dmazzoni wrote: > ...
6 years, 9 months ago (2014-03-24 08:43:40 UTC) #6
dmazzoni
https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h File ui/accessibility/ax_view_state.h (right): https://codereview.chromium.org/196133012/diff/120001/ui/accessibility/ax_view_state.h#newcode38 ui/accessibility/ax_view_state.h:38: uint32 state; On 2014/03/24 08:43:41, mpichlinski wrote: > On ...
6 years, 9 months ago (2014-03-24 23:08:00 UTC) #7
mpichlinski
lgtm
6 years, 9 months ago (2014-03-25 07:45:59 UTC) #8
sky
LGTM https://codereview.chromium.org/196133012/diff/140001/chrome/browser/ui/views/download/download_item_view.cc File chrome/browser/ui/views/download/download_item_view.cc (right): https://codereview.chromium.org/196133012/diff/140001/chrome/browser/ui/views/download/download_item_view.cc#newcode498 chrome/browser/ui/views/download/download_item_view.cc:498: if (model_.IsDangerous()) { nit: no {} https://codereview.chromium.org/196133012/diff/140001/ui/accessibility/ax_view_state.h File ...
6 years, 9 months ago (2014-03-26 14:29:12 UTC) #9
dmazzoni
https://codereview.chromium.org/196133012/diff/140001/chrome/browser/ui/views/download/download_item_view.cc File chrome/browser/ui/views/download/download_item_view.cc (right): https://codereview.chromium.org/196133012/diff/140001/chrome/browser/ui/views/download/download_item_view.cc#newcode498 chrome/browser/ui/views/download/download_item_view.cc:498: if (model_.IsDangerous()) { On 2014/03/26 14:29:13, sky wrote: > ...
6 years, 9 months ago (2014-03-26 18:12:29 UTC) #10
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 9 months ago (2014-03-26 18:12:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/196133012/190001
6 years, 9 months ago (2014-03-26 18:14:36 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 22:23:59 UTC) #13
Message was sent while issue was closed.
Change committed as 259718

Powered by Google App Engine
This is Rietveld 408576698