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

Issue 1310483003: Add ability for a BubbleReference to update the BubbleUI. (Closed)

Created:
5 years, 3 months ago by hcarmona
Modified:
5 years, 3 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@bm-reference-own-file.gitbr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ability for a BubbleReference to update the BubbleUI. BubbleManager doesn't always know when to update a bubble. Ex: Bubble needs to change label from "Translating..." to "Translated". Also fix naming from UI -> Ui BUG=496955 Committed: https://crrev.com/3e2a58c20997a8ea9844f87b85e8566bc4286a5b Cr-Commit-Position: refs/heads/master@{#347833}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Feedback and UI -> Ui #

Patch Set 3 : Add UI thread checks to controller #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -30 lines) Patch
M components/bubble/bubble_controller.h View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M components/bubble/bubble_controller.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M components/bubble/bubble_delegate.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M components/bubble/bubble_delegate.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/bubble/bubble_manager_unittest.cc View 1 2 13 chunks +54 lines, -23 lines 0 comments Download
M components/bubble/bubble_ui.h View 1 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (2 generated)
hcarmona
PTAL
5 years, 3 months ago (2015-09-02 02:24:40 UTC) #2
groby-ooo-7-16
https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc File components/bubble/bubble_controller.cc (right): https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc#newcode28 components/bubble/bubble_controller.cc:28: return manager_->UpdateBubbleUI(this->AsWeakPtr()); Does this need to flow through the ...
5 years, 3 months ago (2015-09-03 17:30:01 UTC) #3
hcarmona
https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc File components/bubble/bubble_controller.cc (right): https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc#newcode28 components/bubble/bubble_controller.cc:28: return manager_->UpdateBubbleUI(this->AsWeakPtr()); On 2015/09/03 17:30:01, groby wrote: > Does ...
5 years, 3 months ago (2015-09-03 18:05:54 UTC) #4
groby-ooo-7-16
https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc File components/bubble/bubble_controller.cc (right): https://codereview.chromium.org/1310483003/diff/1/components/bubble/bubble_controller.cc#newcode28 components/bubble/bubble_controller.cc:28: return manager_->UpdateBubbleUI(this->AsWeakPtr()); On 2015/09/03 18:05:53, Hector Carmona wrote: > ...
5 years, 3 months ago (2015-09-03 19:13:58 UTC) #5
hcarmona
UI thread checking is now in controller, which lets us get rid of having to ...
5 years, 3 months ago (2015-09-04 18:52:08 UTC) #6
groby-ooo-7-16
lgtm
5 years, 3 months ago (2015-09-04 21:35:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310483003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310483003/40001
5 years, 3 months ago (2015-09-08 23:08:03 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-08 23:46:21 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 23:47:30 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e2a58c20997a8ea9844f87b85e8566bc4286a5b
Cr-Commit-Position: refs/heads/master@{#347833}

Powered by Google App Engine
This is Rietveld 408576698