| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/confirm_bubble_model.h" | 10 #include "chrome/browser/ui/confirm_bubble_model.h" |
| 11 | 11 |
| 12 class Profile; | 12 class Profile; |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 class WebContents; | 15 class WebContents; |
| 16 } | 16 } |
| 17 | 17 |
| 18 // A class that implements a bubble menu shown when we confirm a user allows | 18 // A class that implements a bubble menu shown when we confirm a user allows |
| 19 // integrating the spelling service of Google to Chrome. | 19 // integrating the spelling service of Google to Chrome. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 36 // Set the profile preferences to enable or disable the feature. | 36 // Set the profile preferences to enable or disable the feature. |
| 37 void SetPref(bool enabled); | 37 void SetPref(bool enabled); |
| 38 | 38 |
| 39 Profile* profile_; | 39 Profile* profile_; |
| 40 content::WebContents* web_contents_; | 40 content::WebContents* web_contents_; |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(SpellingBubbleModel); | 42 DISALLOW_COPY_AND_ASSIGN(SpellingBubbleModel); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ | 45 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_BUBBLE_MODEL_H_ |
| OLD | NEW |