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

Side by Side Diff: chrome/browser/tab_contents/spellchecker_submenu_observer.h

Issue 8422006: Adds a bubble that asks a user whether to integrate the Spelling service. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 26 matching lines...) Expand all
37 // The interface for adding a submenu to the parent. 37 // The interface for adding a submenu to the parent.
38 RenderViewContextMenuProxy* proxy_; 38 RenderViewContextMenuProxy* proxy_;
39 39
40 // The submenu of the 'spell-checker options'. This class adds items to this 40 // The submenu of the 'spell-checker options'. This class adds items to this
41 // submenu and add it to the parent menu. 41 // submenu and add it to the parent menu.
42 ui::SimpleMenuModel submenu_model_; 42 ui::SimpleMenuModel submenu_model_;
43 43
44 // Whether spellchecking is enabled in the focused element or not. 44 // Whether spellchecking is enabled in the focused element or not.
45 bool spellcheck_enabled_; 45 bool spellcheck_enabled_;
46 46
47 // Whether we integrate the spelling service to Chrome.
48 bool integrate_spelling_service_;
49
47 // The radio items representing languages available for spellchecking. 50 // The radio items representing languages available for spellchecking.
48 int language_group_; 51 int language_group_;
49 int language_selected_; 52 int language_selected_;
50 std::vector<std::string> languages_; 53 std::vector<std::string> languages_;
51 54
52 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver); 55 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver);
53 }; 56 };
54 57
55 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 58 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/tab_contents/spellchecker_submenu_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698