OLD | NEW |
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_SPELLING_MENU_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_SPELLING_MENU_OBSERVER_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_SPELLING_MENU_OBSERVER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_SPELLING_MENU_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 #include "base/timer.h" | 13 #include "base/timer.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 | 15 |
17 class RenderViewContextMenuProxy; | 16 class RenderViewContextMenuProxy; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 102 |
104 // Flag indicating whether online spelling correction service is enabled. When | 103 // Flag indicating whether online spelling correction service is enabled. When |
105 // this variable is true and we right-click a misspelled word, we send a | 104 // this variable is true and we right-click a misspelled word, we send a |
106 // JSON-RPC request to the service and retrieve suggestions. | 105 // JSON-RPC request to the service and retrieve suggestions. |
107 bool integrate_spelling_service_; | 106 bool integrate_spelling_service_; |
108 | 107 |
109 DISALLOW_COPY_AND_ASSIGN(SpellingMenuObserver); | 108 DISALLOW_COPY_AND_ASSIGN(SpellingMenuObserver); |
110 }; | 109 }; |
111 | 110 |
112 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLING_MENU_OBSERVER_H_ | 111 #endif // CHROME_BROWSER_TAB_CONTENTS_SPELLING_MENU_OBSERVER_H_ |
OLD | NEW |