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

Issue 10892002: GTK: Do not depend on the notification observer order... (Closed)

Created:
8 years, 3 months ago by Lei Zhang
Modified:
8 years, 3 months ago
Reviewers:
sail
CC:
chromium-reviews
Visibility:
Public.

Description

GTK: Do not depend on the notification observer order between WrenchMenu and WrenchMenuModel. BUG=118823 TEST=Turn on sync, verify zoom buttons in the wrench menu work correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156481

Patch Set 1 : #

Total comments: 8

Patch Set 2 : just call UpdateZoomControls instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/ui/gtk/browser_toolbar_gtk.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Lei Zhang
This probably regressed in r104783. https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.cc File chrome/browser/ui/toolbar/wrench_menu_model.cc (right): https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.cc#newcode696 chrome/browser/ui/toolbar/wrench_menu_model.cc:696: Clear(); SimpleMenu::Clear() says, "Note ...
8 years, 3 months ago (2012-08-28 06:41:00 UTC) #1
sail
Hi Lei. Sorry for causing this regression. I'm not sure about how MenuModel works. Maybe ...
8 years, 3 months ago (2012-08-28 16:46:55 UTC) #2
Lei Zhang
https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.h File chrome/browser/ui/toolbar/wrench_menu_model.h (right): https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.h#newcode125 chrome/browser/ui/toolbar/wrench_menu_model.h:125: #if defined(TOOLKIT_GTK) On 2012/08/28 16:46:55, sail wrote: > I ...
8 years, 3 months ago (2012-08-28 19:52:54 UTC) #3
sail
https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.h File chrome/browser/ui/toolbar/wrench_menu_model.h (right): https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/toolbar/wrench_menu_model.h#newcode125 chrome/browser/ui/toolbar/wrench_menu_model.h:125: #if defined(TOOLKIT_GTK) On 2012/08/28 19:52:54, Lei Zhang wrote: > ...
8 years, 3 months ago (2012-08-28 20:42:51 UTC) #4
Lei Zhang
https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/gtk/browser_toolbar_gtk.cc File chrome/browser/ui/gtk/browser_toolbar_gtk.cc (right): https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/gtk/browser_toolbar_gtk.cc#newcode415 chrome/browser/ui/gtk/browser_toolbar_gtk.cc:415: wrench_menu_->UpdateMenu(); > It seems like what we want is ...
8 years, 3 months ago (2012-08-28 20:57:22 UTC) #5
sail
On 2012/08/28 20:57:22, Lei Zhang wrote: > https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/gtk/browser_toolbar_gtk.cc > File chrome/browser/ui/gtk/browser_toolbar_gtk.cc (right): > > https://chromiumcodereview.appspot.com/10892002/diff/3002/chrome/browser/ui/gtk/browser_toolbar_gtk.cc#newcode415 ...
8 years, 3 months ago (2012-08-28 20:59:25 UTC) #6
Lei Zhang
I'll just do it the simpler way.
8 years, 3 months ago (2012-09-05 23:14:43 UTC) #7
Lei Zhang
On 2012/09/05 23:14:43, Lei Zhang wrote: > I'll just do it the simpler way. ping ...
8 years, 3 months ago (2012-09-13 00:08:05 UTC) #8
sail
On 2012/09/13 00:08:05, Lei Zhang wrote: > On 2012/09/05 23:14:43, Lei Zhang wrote: > > ...
8 years, 3 months ago (2012-09-13 00:11:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10892002/10001
8 years, 3 months ago (2012-09-13 00:27:51 UTC) #10
commit-bot: I haz the power
8 years, 3 months ago (2012-09-13 03:00:09 UTC) #11
Change committed as 156481

Powered by Google App Engine
This is Rietveld 408576698