OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_HOST_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_ |
7 | 7 |
8 #include "chrome/views/menu.h" | 8 #include "chrome/views/menu.h" |
9 #include "webkit/glue/context_node_types.h" | 9 #include "webkit/glue/context_menu.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 | 12 |
13 class RenderViewContextMenu : public Menu { | 13 class RenderViewContextMenu : public Menu { |
14 public: | 14 public: |
15 RenderViewContextMenu( | 15 RenderViewContextMenu( |
16 Menu::Delegate* delegate, | 16 Menu::Delegate* delegate, |
17 HWND owner, | 17 HWND owner, |
18 ContextNode node, | 18 ContextNode node, |
19 const std::wstring& misspelled_word, | 19 const std::wstring& misspelled_word, |
(...skipping 16 matching lines...) Expand all Loading... |
36 std::wstring misspelled_word_; | 36 std::wstring misspelled_word_; |
37 std::vector<std::wstring> misspelled_word_suggestions_; | 37 std::vector<std::wstring> misspelled_word_suggestions_; |
38 Profile* profile_; | 38 Profile* profile_; |
39 Menu* spellchecker_sub_menu_; | 39 Menu* spellchecker_sub_menu_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 41 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_ | 44 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_ |
45 | 45 |
OLD | NEW |