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

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

Issue 178193005: Move render_view_context_menu.* related files out of tab_contents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: context_menu->renderer_context_menu for disambiguation Created 6 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_CONTEXT_MENU_SPELLCHECKER_SUBMENU_OBSERVER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLCHECKER_SUBMENU_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/tab_contents/render_view_context_menu_observer.h" 13 #include "chrome/browser/renderer_context_menu/render_view_context_menu_observer .h"
14 #include "ui/base/models/simple_menu_model.h" 14 #include "ui/base/models/simple_menu_model.h"
15 15
16 class RenderViewContextMenuProxy; 16 class RenderViewContextMenuProxy;
17 17
18 // A class that implements the 'spell-checker options' submenu. This class 18 // A class that implements the 'spell-checker options' submenu. This class
19 // creates the submenu, add it to the parent menu, and handles events. 19 // creates the submenu, add it to the parent menu, and handles events.
20 class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver { 20 class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver {
21 public: 21 public:
22 SpellCheckerSubMenuObserver(RenderViewContextMenuProxy* proxy, 22 SpellCheckerSubMenuObserver(RenderViewContextMenuProxy* proxy,
23 ui::SimpleMenuModel::Delegate* delegate, 23 ui::SimpleMenuModel::Delegate* delegate,
(...skipping 19 matching lines...) Expand all
43 // Hunspell spelling submenu. 43 // Hunspell spelling submenu.
44 // The radio items representing languages available for spellchecking. 44 // The radio items representing languages available for spellchecking.
45 int language_group_; 45 int language_group_;
46 int language_selected_; 46 int language_selected_;
47 std::vector<std::string> languages_; 47 std::vector<std::string> languages_;
48 #endif // !OS_MACOSX 48 #endif // !OS_MACOSX
49 49
50 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver); 50 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 53 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLCHECKER_SUBMENU_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698