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

Issue 7635012: Host process i18n and Linux implementation. (Closed)

Created:
9 years, 4 months ago by Jamie
Modified:
9 years, 3 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Host process i18n and Linux implementation. BUG=None TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96972

Patch Set 1 #

Total comments: 17

Patch Set 2 : Use a struct rather than static strings for localizations. #

Patch Set 3 : Fixed clang error. #

Total comments: 4

Patch Set 4 : Undo timeout debug change. #

Patch Set 5 : Change UIStrings to UiStrings. #

Total comments: 12

Patch Set 6 : Cleaned up Sergey's nits. #

Patch Set 7 : Incorporated comments from wez@ #

Patch Set 8 : Cleaned up disconnect button l10n. #

Patch Set 9 : Renamed ScopedNPObject to ScopedRefNPObject. #

Patch Set 10 : Disable copy and assign for ScopedRefNPObject and add clarifying comments. #

Patch Set 11 : Use operator= instead of replace() and fix self-assignment bug. #

Patch Set 12 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -69 lines) Patch
M remoting/host/chromoting_host.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -6 lines 0 comments Download
M remoting/host/continue_window.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/continue_window_linux.cc View 1 2 3 4 5 5 chunks +8 lines, -7 lines 0 comments Download
M remoting/host/disconnect_window.h View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/host/disconnect_window.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/disconnect_window_linux.cc View 1 2 3 4 5 6 7 4 chunks +27 lines, -18 lines 0 comments Download
M remoting/host/plugin/host_plugin_utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 1 comment Download
M remoting/host/plugin/host_plugin_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -2 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +79 lines, -28 lines 0 comments Download
A remoting/host/ui_strings.h View 1 2 3 4 5 6 7 1 chunk +56 lines, -0 lines 0 comments Download
A remoting/host/ui_strings.cc View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/me2mom/_locales/en/messages.json View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
M remoting/webapp/me2mom/l10n.js View 1 chunk +0 lines, -5 lines 0 comments Download
M remoting/webapp/me2mom/remoting.js View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Jamie
This CL allows the host dialogs to be localized, and implements this for Linux. Wez, ...
9 years, 4 months ago (2011-08-12 01:19:45 UTC) #1
Lambros
Everything else looks OK, but I'd prefer to see a more robust scheme for dealing ...
9 years, 4 months ago (2011-08-12 17:20:35 UTC) #2
Jamie
http://codereview.chromium.org/7635012/diff/1/remoting/host/ui_strings.h File remoting/host/ui_strings.h (right): http://codereview.chromium.org/7635012/diff/1/remoting/host/ui_strings.h#newcode31 remoting/host/ui_strings.h:31: extern std::string disconnectMessage; On 2011/08/12 17:20:36, Lambros wrote: > ...
9 years, 4 months ago (2011-08-12 23:09:53 UTC) #3
Lambros
Non-plugin parts LGTM, provided you undo the timeout change :) http://codereview.chromium.org/7635012/diff/8001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/7635012/diff/8001/remoting/host/desktop_environment.cc#newcode18 ...
9 years, 4 months ago (2011-08-13 00:32:13 UTC) #4
Jamie
http://codereview.chromium.org/7635012/diff/8001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/7635012/diff/8001/remoting/host/desktop_environment.cc#newcode18 remoting/host/desktop_environment.cc:18: static const int kContinueWindowTimeoutMs = 10 * 1 * ...
9 years, 4 months ago (2011-08-13 00:56:19 UTC) #5
Sergey Ulanov
drive-by nits http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc File remoting/host/disconnect_window_linux.cc (right): http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc#newcode59 remoting/host/disconnect_window_linux.cc:59: std::string buttonLabel = ui_strings->disconnectButtonText + " (" ...
9 years, 4 months ago (2011-08-13 01:11:36 UTC) #6
Jamie
http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc File remoting/host/disconnect_window_linux.cc (right): http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc#newcode59 remoting/host/disconnect_window_linux.cc:59: std::string buttonLabel = ui_strings->disconnectButtonText + " (" + On ...
9 years, 4 months ago (2011-08-13 01:34:03 UTC) #7
Wez
Apologies for the delay in getting to this. http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h File remoting/host/plugin/host_plugin_utils.h (right): http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h#newcode45 remoting/host/plugin/host_plugin_utils.h:45: }; ...
9 years, 4 months ago (2011-08-13 01:35:31 UTC) #8
Sergey Ulanov
http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc File remoting/host/disconnect_window_linux.cc (right): http://codereview.chromium.org/7635012/diff/9019/remoting/host/disconnect_window_linux.cc#newcode59 remoting/host/disconnect_window_linux.cc:59: std::string buttonLabel = ui_strings->disconnectButtonText + " (" + On ...
9 years, 4 months ago (2011-08-13 01:37:26 UTC) #9
Jamie
http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h File remoting/host/plugin/host_plugin_utils.h (right): http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h#newcode45 remoting/host/plugin/host_plugin_utils.h:45: }; On 2011/08/13 01:35:32, Wez wrote: > This should ...
9 years, 4 months ago (2011-08-13 02:20:15 UTC) #10
Jamie
http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h File remoting/host/plugin/host_plugin_utils.h (right): http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h#newcode45 remoting/host/plugin/host_plugin_utils.h:45: }; On 2011/08/13 02:20:15, Jamie wrote: > On 2011/08/13 ...
9 years, 4 months ago (2011-08-15 17:21:02 UTC) #11
Wez
On 2011/08/15 17:21:02, Jamie wrote: > http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h > File remoting/host/plugin/host_plugin_utils.h (right): > > http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h#newcode45 > ...
9 years, 4 months ago (2011-08-15 17:27:33 UTC) #12
Jamie
On 2011/08/15 17:27:33, Wez wrote: > On 2011/08/15 17:21:02, Jamie wrote: > > > http://codereview.chromium.org/7635012/diff/1/remoting/host/plugin/host_plugin_utils.h ...
9 years, 4 months ago (2011-08-15 17:39:21 UTC) #13
Wez
On 2011/08/15 17:39:21, Jamie wrote: > On 2011/08/15 17:27:33, Wez wrote: > > On 2011/08/15 ...
9 years, 4 months ago (2011-08-15 17:44:10 UTC) #14
Jamie
On 2011/08/15 17:44:10, Wez wrote: > On 2011/08/15 17:39:21, Jamie wrote: > > On 2011/08/15 ...
9 years, 4 months ago (2011-08-15 18:36:46 UTC) #15
Wez
On 2011/08/15 18:36:46, Jamie wrote: > On 2011/08/15 17:44:10, Wez wrote: > > On 2011/08/15 ...
9 years, 4 months ago (2011-08-15 19:17:53 UTC) #16
commit-bot: I haz the power
Can't apply patch for file remoting/host/plugin/host_script_object.cc. While running patch -p1 --forward --force; patching file remoting/host/plugin/host_script_object.cc ...
9 years, 4 months ago (2011-08-16 05:34:34 UTC) #17
Sergey Ulanov
http://codereview.chromium.org/7635012/diff/16001/remoting/host/plugin/host_plugin_utils.h File remoting/host/plugin/host_plugin_utils.h (right): http://codereview.chromium.org/7635012/diff/16001/remoting/host/plugin/host_plugin_utils.h#newcode42 remoting/host/plugin/host_plugin_utils.h:42: ScopedRefNPObject& operator=(NPObject* object); FYI: Operator overloading is prohibited by ...
9 years, 3 months ago (2011-08-30 17:36:51 UTC) #18
Wez
On 2011/08/30 17:36:51, sergeyu wrote: > http://codereview.chromium.org/7635012/diff/16001/remoting/host/plugin/host_plugin_utils.h > File remoting/host/plugin/host_plugin_utils.h (right): > > http://codereview.chromium.org/7635012/diff/16001/remoting/host/plugin/host_plugin_utils.h#newcode42 > ...
9 years, 3 months ago (2011-08-30 17:47:09 UTC) #19
Sergey Ulanov
9 years, 3 months ago (2011-08-30 19:28:09 UTC) #20
On 2011/08/30 17:47:09, Wez wrote:
> This was my suggestion; I wanted ScopedRefNPObject to present what little
> functionality it has in the same way as scoped_refptr<> does.  Having a
"scoped
> ref" named class that doesn't behave like other "scoped ref" classes seems
> likely to impact code readability.

Hm, ok, makes sense.

Powered by Google App Engine
This is Rietveld 408576698