| Index: chrome/browser/tab_contents/spelling_menu_observer.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/spelling_menu_observer.h (revision 108037)
|
| +++ chrome/browser/tab_contents/spelling_menu_observer.h (working copy)
|
| @@ -7,6 +7,7 @@
|
| #pragma once
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/string16.h"
|
| @@ -74,6 +75,11 @@
|
| // this interface to avoid accesing context-menu items directly.
|
| RenderViewContextMenuProxy* proxy_;
|
|
|
| + // Suggested words from the local spellchecker. If the spelling service
|
| + // returns a word in this list, we hide the context-menu item to prevent
|
| + // showing the same word twice.
|
| + std::vector<string16> suggestions_;
|
| +
|
| // The string used for animation until we receive a response from the Spelling
|
| // service. The current animation just adds periods at the end of this string:
|
| // 'Loading' -> 'Loading.' -> 'Loading..' -> 'Loading...' (-> 'Loading')
|
|
|