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

Issue 199064: [chromium-reviews] Language detection works only for Windows now. Make chrome.tabs.detectLanguag... (Closed)

Created:
11 years, 3 months ago by sidchat (Google)
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

Language detection works only for Windows now. Make chrome.tabs.detectLanguage return an error from the API on non-windows platforms. BUG=20692 TEST=none

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/extensions/extension_tabs_module.cc View 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sidchat (Google)
11 years, 3 months ago (2009-09-09 18:17:23 UTC) #1
Aaron Boodman
I would prefer that we return an error from the API on non-windows platforms. We ...
11 years, 3 months ago (2009-09-09 22:16:07 UTC) #2
sidchat (Google)
OK, I made an attempt to return error. I cannot verify this will work for ...
11 years, 3 months ago (2009-09-11 20:27:52 UTC) #3
Aaron Boodman
http://codereview.chromium.org/199064/diff/4002/5001 File chrome/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/199064/diff/4002/5001#newcode1099 Line 1099: std::string language("NOT SUPPORTED IN CURRENT OS"); What about ...
11 years, 3 months ago (2009-09-11 22:43:17 UTC) #4
sidchat (Google)
Yeah, I figured thats much better than what I was doing before. Made changes accordingly. ...
11 years, 3 months ago (2009-09-11 23:22:12 UTC) #5
Aaron Boodman
11 years, 3 months ago (2009-09-17 23:53:33 UTC) #6
lgtm!

Powered by Google App Engine
This is Rietveld 408576698