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

Unified Diff: chrome/browser/tab_contents/spelling_menu_observer.cc

Issue 8806006: Show a separator only when clicking a misspelling word. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/spelling_menu_observer.cc
===================================================================
--- chrome/browser/tab_contents/spelling_menu_observer.cc (revision 116420)
+++ chrome/browser/tab_contents/spelling_menu_observer.cc (working copy)
@@ -31,14 +31,19 @@
#if defined(GOOGLE_CHROME_BUILD)
#include "chrome/browser/spellchecker/internal/spellcheck_internal.h"
-#else
-// Use a dummy URL and a key on Chromium to avoid build breaks until the
+#endif
+
+// Use the default key and URL on Chromium to avoid build breaks until the
// Spelling API is released. These dummy parameters just cause a timeout and
-// show 'no suggestions found'.
+// show 'no suggestions from Google'.
+#ifndef SPELLING_SERVICE_KEY
#define SPELLING_SERVICE_KEY
-#define SPELLING_SERVICE_URL "http://127.0.0.1/rpc"
#endif
+#ifndef SPELLING_SERVICE_URL
+#define SPELLING_SERVICE_URL "https://www.googleapis.com/rpc"
+#endif
+
using content::BrowserThread;
SpellingMenuObserver::SpellingMenuObserver(RenderViewContextMenuProxy* proxy)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698