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

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

Issue 10386221: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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_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>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/scoped_ptr.h"
15 #include "chrome/browser/tab_contents/render_view_context_menu_observer.h" 14 #include "chrome/browser/tab_contents/render_view_context_menu_observer.h"
16 #include "ui/base/models/simple_menu_model.h" 15 #include "ui/base/models/simple_menu_model.h"
17 16
18 class RenderViewContextMenuProxy; 17 class RenderViewContextMenuProxy;
19 18
20 // A class that implements the 'spell-checker options' submenu. This class 19 // A class that implements the 'spell-checker options' submenu. This class
21 // creates the submenu, add it to the parent menu, and handles events. 20 // creates the submenu, add it to the parent menu, and handles events.
22 class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver { 21 class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver {
23 public: 22 public:
24 SpellCheckerSubMenuObserver(RenderViewContextMenuProxy* proxy, 23 SpellCheckerSubMenuObserver(RenderViewContextMenuProxy* proxy,
(...skipping 29 matching lines...) Expand all
54 // The radio items representing languages available for spellchecking. 53 // The radio items representing languages available for spellchecking.
55 int language_group_; 54 int language_group_;
56 int language_selected_; 55 int language_selected_;
57 std::vector<std::string> languages_; 56 std::vector<std::string> languages_;
58 #endif // !OS_MACOSX 57 #endif // !OS_MACOSX
59 58
60 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver); 59 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSubMenuObserver);
61 }; 60 };
62 61
63 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_ 62 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLCHECKER_SUBMENU_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/testing_pref_store.cc ('k') | chrome/browser/web_resource/notification_promo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698