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

Issue 1724733002: Show a warning bubble when the IME extension is activated. (Closed)

Created:
4 years, 10 months ago by Azure Wei
Modified:
4 years, 8 months ago
Reviewers:
Shu Chen, Devlin, sky
CC:
xiangye_chromium.org, chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, nona+watch_chromium.org, chromium-apps-reviews_chromium.org, James Su, hcarmona
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show a warning bubble when the IME extension is activated. This cl implements showing a warning bubble when an IME extension is calling chrome.input.ime.activate() API, according to the API proposal: https://goo.gl/IeN7xE. The input.ime.activate() API will not respond util user finishes interacting with the bubble. Only when user presses the 'OK' button, the extension call be successfully activated and get an input.ime.onActivate() event. If user checks the 'Never show this again.' check box when clicking 'OK' button, the extension could be directly activated next time if the API is called from a user action like clicking buttons. This cl adds the following new classes: ImeWarningBubble: The interface or the IME warning bubble. ImeWarningBubbleView: The implementation for the IME warning bubble. Provides warning information to the user upon the activation of an IME extension. BUG=517773 TEST=BrowserTest.ImeActivatedBubbleBrowserTest Committed: https://crrev.com/29221c5b81d089742ff6a4e92a35bbcf8fa98b8d Cr-Commit-Position: refs/heads/master@{#383916}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Fix layering problem and add test. #

Patch Set 4 : Add platform "linux" and "win" for input.ime.onActivate. #

Total comments: 88

Patch Set 5 : Addressed Devlin and sky@'s comments. #

Patch Set 6 : Rename test file. #

Total comments: 66

Patch Set 7 : Use BubbleDialogDelegateView. #

Patch Set 8 : #

Total comments: 14

Patch Set 9 : Addressed Devlin's comments. #

Total comments: 30

Patch Set 10 : Abandon ImeWarningBubbleObserver #

Total comments: 8

Patch Set 11 : Add enum class PermissionStatus. #

Total comments: 24

Patch Set 12 : #

Patch Set 13 : #

Total comments: 18

Patch Set 14 : Addressed sky@'s comments. #

Total comments: 2

Patch Set 15 : Add GetToolbarView() in BrowserWindow. #

Patch Set 16 : Add ShowImeWarningBubble() in BrowserWindow. #

Patch Set 17 : Update string on UI. #

Total comments: 10

Patch Set 18 : Make ImeWarningBubbleView::ShowBubble() static. #

Patch Set 19 : #

Total comments: 42

Patch Set 20 : #

Patch Set 21 : Update BrowserWindowCocoa on Mac. #

Total comments: 30

Patch Set 22 : Addressed Devlin's comments. #

Patch Set 23 : #

Total comments: 4

Patch Set 24 : Fix patch conflict. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -8 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +80 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_observer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/ime/ime_warning_bubble_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/ime/ime_warning_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +198 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/input_ime.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 75 (19 generated)
Azure Wei
Shu and Devlin, can you please help review this cl? Thank you!
4 years, 10 months ago (2016-02-23 12:37:13 UTC) #4
Devlin
I skimmed through most of this, since it looks like there's a few big layering ...
4 years, 10 months ago (2016-02-23 17:39:37 UTC) #5
Azure Wei
On 2016/02/23 17:39:37, Devlin (Slow until 2-26) wrote: > I skimmed through most of this, ...
4 years, 10 months ago (2016-02-24 07:14:03 UTC) #8
Azure Wei
+ sky@ for owner of chrome/test/BUILD.gn. sky@, can you please review this cl? Thanks!
4 years, 10 months ago (2016-02-24 07:16:18 UTC) #9
sky
You will need someone to sign off on the extensions changes. https://codereview.chromium.org/1724733002/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): ...
4 years, 10 months ago (2016-02-24 18:05:50 UTC) #10
Devlin
https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode133 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:133: bubble_ = nullptr; Given this object is being deleted, ...
4 years, 10 months ago (2016-02-24 23:48:29 UTC) #11
Azure Wei
https://codereview.chromium.org/1724733002/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1724733002/diff/60001/chrome/app/generated_resources.grd#newcode14585 chrome/app/generated_resources.grd:14585: + the chrome.input.ime.* APIs, which may be able to ...
4 years, 10 months ago (2016-02-25 09:32:14 UTC) #12
sky
https://codereview.chromium.org/1724733002/diff/100001/chrome/browser/ui/ime/ime_warning_bubble.h File chrome/browser/ui/ime/ime_warning_bubble.h (right): https://codereview.chromium.org/1724733002/diff/100001/chrome/browser/ui/ime/ime_warning_bubble.h#newcode40 chrome/browser/ui/ime/ime_warning_bubble.h:40: virtual bool IsVisible() = 0; Move this and the ...
4 years, 10 months ago (2016-02-25 17:25:36 UTC) #14
Devlin
https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode217 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:217: Browser* browser = chrome::FindBrowserWithProfile(profile); On 2016/02/25 09:32:12, Azure Wei ...
4 years, 10 months ago (2016-02-25 22:38:52 UTC) #15
Azure Wei
+cc xiangye@, xiangye, could you please help with the string review? Thank you!
4 years, 10 months ago (2016-02-26 03:40:21 UTC) #16
Azure Wei
https://codereview.chromium.org/1724733002/diff/100001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1724733002/diff/100001/chrome/app/generated_resources.grd#newcode14584 chrome/app/generated_resources.grd:14584: + <ph name="EXTENSION_NAME">$1<ex>Gmail Checker</ex></ph> extension uses chrome.input.ime API, which ...
4 years, 9 months ago (2016-03-02 08:47:58 UTC) #17
Devlin
Sorry, I wasn't able to get to this today. :( I'll do my best to ...
4 years, 9 months ago (2016-03-03 01:35:19 UTC) #18
Devlin
https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode250 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:250: return RespondNow(Error(kErrorUserPermission)); On 2016/02/25 22:38:50, Devlin wrote: > On ...
4 years, 9 months ago (2016-03-04 00:18:41 UTC) #19
Azure Wei
https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/60001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode250 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:250: return RespondNow(Error(kErrorUserPermission)); On 2016/03/04 00:18:40, Devlin wrote: > On ...
4 years, 9 months ago (2016-03-04 13:09:18 UTC) #20
Devlin
(just responding, will take another look later) https://codereview.chromium.org/1724733002/diff/140001/chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc File chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc (right): https://codereview.chromium.org/1724733002/diff/140001/chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc#newcode74 chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc:74: base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(kWaitMs)); On ...
4 years, 9 months ago (2016-03-04 17:23:39 UTC) #21
Devlin
https://codereview.chromium.org/1724733002/diff/160001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/160001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode135 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:135: event_router->bubble()->CloseBubble(); What if the bubble was shown for a ...
4 years, 9 months ago (2016-03-08 00:01:38 UTC) #22
Azure Wei
https://codereview.chromium.org/1724733002/diff/140001/chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc File chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc (right): https://codereview.chromium.org/1724733002/diff/140001/chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc#newcode74 chrome/browser/ui/views/ime/ime_warning_bubble_browsertest.cc:74: base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(kWaitMs)); On 2016/03/04 17:23:39, Devlin wrote: > On 2016/03/04 ...
4 years, 9 months ago (2016-03-09 13:47:14 UTC) #24
Devlin
This looks pretty good to me, but I'd like Scott to weigh in. https://codereview.chromium.org/1724733002/diff/180001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h File ...
4 years, 9 months ago (2016-03-14 22:41:04 UTC) #25
Azure Wei
https://codereview.chromium.org/1724733002/diff/180001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h (right): https://codereview.chromium.org/1724733002/diff/180001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h#newcode13 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h:13: class ImeWarningBubble; On 2016/03/14 22:41:03, Devlin wrote: > Unneeded ...
4 years, 9 months ago (2016-03-15 04:52:34 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724733002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724733002/200001
4 years, 9 months ago (2016-03-15 15:00:34 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/117609)
4 years, 9 months ago (2016-03-15 16:24:03 UTC) #30
sky
https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/ime/ime_warning_bubble.h File chrome/browser/ui/ime/ime_warning_bubble.h (right): https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/ime/ime_warning_bubble.h#newcode20 chrome/browser/ui/ime/ime_warning_bubble.h:20: // The ImeWarningBubble is self-owned, it deletes itself the ...
4 years, 9 months ago (2016-03-15 17:22:18 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724733002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724733002/220001
4 years, 9 months ago (2016-03-16 07:41:17 UTC) #33
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 9 months ago (2016-03-16 07:41:21 UTC) #35
Azure Wei
https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/ime/ime_warning_bubble.h File chrome/browser/ui/ime/ime_warning_bubble.h (right): https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/ime/ime_warning_bubble.h#newcode20 chrome/browser/ui/ime/ime_warning_bubble.h:20: // The ImeWarningBubble is self-owned, it deletes itself the ...
4 years, 9 months ago (2016-03-16 08:05:48 UTC) #36
sky
https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode174 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:174: base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( On 2016/03/16 08:05:48, Azure Wei wrote: > On ...
4 years, 9 months ago (2016-03-16 15:53:19 UTC) #37
Azure Wei
https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/200001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode174 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:174: base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( On 2016/03/16 15:53:19, sky wrote: > On 2016/03/16 ...
4 years, 9 months ago (2016-03-17 03:25:23 UTC) #38
sky
https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode61 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:61: ->GetToolbarView() Do you need to null check GEtToolbarView here ...
4 years, 9 months ago (2016-03-17 13:31:46 UTC) #39
sky
https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode170 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:170: set_parent_window(browser_widget->GetNativeView()); set_parent_window(browser_->window()->GetNativeWindow());?
4 years, 9 months ago (2016-03-17 13:35:18 UTC) #40
sky
Also, I don't like all the lookups of BrowserView. If you need the BrowserWindow implementation ...
4 years, 9 months ago (2016-03-17 13:35:54 UTC) #41
Azure Wei
https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/240001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode61 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:61: ->GetToolbarView() On 2016/03/17 13:31:45, sky wrote: > Do you ...
4 years, 9 months ago (2016-03-22 11:42:12 UTC) #42
Azure Wei
On 2016/03/17 13:35:54, sky wrote: > Also, I don't like all the lookups of BrowserView. ...
4 years, 9 months ago (2016-03-22 11:47:29 UTC) #43
sky
https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode61 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:61: BrowserView::GetBrowserViewForBrowser(browser_)->GetToolbarView(); This is the call that I'm saying I ...
4 years, 9 months ago (2016-03-22 16:22:19 UTC) #44
Azure Wei
https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode61 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:61: BrowserView::GetBrowserViewForBrowser(browser_)->GetToolbarView(); On 2016/03/22 16:22:19, sky wrote: > This is ...
4 years, 9 months ago (2016-03-23 22:58:15 UTC) #45
sky
On 2016/03/23 22:58:15, Azure Wei wrote: > https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc > File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): > > https://codereview.chromium.org/1724733002/diff/260001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode61 ...
4 years, 9 months ago (2016-03-23 23:43:45 UTC) #46
Azure Wei
On 2016/03/23 23:43:45, sky wrote: > On 2016/03/23 22:58:15, Azure Wei wrote: > > > ...
4 years, 9 months ago (2016-03-24 01:09:49 UTC) #47
sky
I'm suggesting the following: BrowserWindow::ShowImeWarningBubble, which is implemented by BrowserView::ShowImeWarningBubble. The implementation of BrowserView::ShowImeWarningBubble creates ...
4 years, 9 months ago (2016-03-24 02:56:39 UTC) #48
Azure Wei
On 2016/03/24 02:56:39, sky wrote: > I'm suggesting the following: > BrowserWindow::ShowImeWarningBubble, which is implemented ...
4 years, 9 months ago (2016-03-24 11:56:01 UTC) #49
sky
https://codereview.chromium.org/1724733002/diff/320001/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): https://codereview.chromium.org/1724733002/diff/320001/chrome/browser/ui/browser_window.h#newcode71 chrome/browser/ui/browser_window.h:71: enum class ImeWarningBubblePermissionStatus { Move the enum to the ...
4 years, 9 months ago (2016-03-24 18:56:23 UTC) #50
Azure Wei
https://codereview.chromium.org/1724733002/diff/320001/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): https://codereview.chromium.org/1724733002/diff/320001/chrome/browser/ui/browser_window.h#newcode71 chrome/browser/ui/browser_window.h:71: enum class ImeWarningBubblePermissionStatus { On 2016/03/24 18:56:23, sky wrote: ...
4 years, 9 months ago (2016-03-25 09:46:38 UTC) #51
sky
You'll need to update the mac side, but otherwise this LGTM https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/ui/views/ime/ime_warning_bubble_view.h File chrome/browser/ui/views/ime/ime_warning_bubble_view.h (right): ...
4 years, 9 months ago (2016-03-25 15:41:46 UTC) #52
Devlin
https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode40 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:40: const char kErrorNotGetUserPermission[] = kErrorPermissionDenied https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode41 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:41: "User permission ...
4 years, 9 months ago (2016-03-25 16:35:11 UTC) #53
Devlin
https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode19 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:19: #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" Also, please trim your includes here.
4 years, 9 months ago (2016-03-25 16:40:20 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724733002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724733002/380001
4 years, 9 months ago (2016-03-28 03:27:31 UTC) #56
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724733002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724733002/400001
4 years, 9 months ago (2016-03-28 04:56:24 UTC) #59
Azure Wei
https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/360001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode40 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:40: const char kErrorNotGetUserPermission[] = On 2016/03/25 16:35:10, Devlin wrote: ...
4 years, 9 months ago (2016-03-28 06:00:54 UTC) #61
Devlin
https://codereview.chromium.org/1724733002/diff/400001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/400001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode228 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:228: browser->window()->ShowImeWarningBubble(extension(), callback); nit: I think that inlining callback here ...
4 years, 8 months ago (2016-03-28 20:30:25 UTC) #62
Azure Wei
https://codereview.chromium.org/1724733002/diff/400001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (right): https://codereview.chromium.org/1724733002/diff/400001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#newcode228 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:228: browser->window()->ShowImeWarningBubble(extension(), callback); On 2016/03/28 20:30:24, Devlin wrote: > nit: ...
4 years, 8 months ago (2016-03-29 01:20:36 UTC) #63
Devlin
lgtm with a question https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode52 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:52: if (response_callback_.is_null()) When would this ...
4 years, 8 months ago (2016-03-29 22:39:54 UTC) #64
Azure Wei
https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc File chrome/browser/ui/views/ime/ime_warning_bubble_view.cc (right): https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/ui/views/ime/ime_warning_bubble_view.cc#newcode52 chrome/browser/ui/views/ime/ime_warning_bubble_view.cc:52: if (response_callback_.is_null()) On 2016/03/29 22:39:54, Devlin wrote: > When ...
4 years, 8 months ago (2016-03-29 23:30:38 UTC) #65
Shu Chen
https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (left): https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#oldcode41 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:41: } // namespace why remove the comment?
4 years, 8 months ago (2016-03-30 03:34:48 UTC) #66
Azure Wei
https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc File chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc (left): https://codereview.chromium.org/1724733002/diff/440001/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc#oldcode41 chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc:41: } // namespace On 2016/03/30 03:34:48, Shu Chen wrote: ...
4 years, 8 months ago (2016-03-30 03:51:34 UTC) #67
Shu Chen
lgtm
4 years, 8 months ago (2016-03-30 03:54:39 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724733002/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724733002/460001
4 years, 8 months ago (2016-03-30 05:15:10 UTC) #71
commit-bot: I haz the power
Committed patchset #24 (id:460001)
4 years, 8 months ago (2016-03-30 06:04:47 UTC) #73
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 06:06:20 UTC) #75
Message was sent while issue was closed.
Patchset 24 (id:??) landed as
https://crrev.com/29221c5b81d089742ff6a4e92a35bbcf8fa98b8d
Cr-Commit-Position: refs/heads/master@{#383916}

Powered by Google App Engine
This is Rietveld 408576698