diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 21:52:45 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 21:52:45 +0000 |
commit | 5367dbc12dd614275b121dd239e97e606c197517 (patch) | |
tree | c9965d24d787dfddafebf4ba9eb2885c88ef49c1 /chrome/common | |
parent | ab240c1f587956a498f8a5bf8b7e0fe702ca01db (diff) | |
download | chromium_src-5367dbc12dd614275b121dd239e97e606c197517.zip chromium_src-5367dbc12dd614275b121dd239e97e606c197517.tar.gz chromium_src-5367dbc12dd614275b121dd239e97e606c197517.tar.bz2 |
Make render_view_context_menu_controller.cc compile on Posix.
Review URL: http://codereview.chromium.org/21497
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 38b93aa..ac2ac55 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -341,6 +341,12 @@ class TableModel { } // namespace views +class Menu { + public: + class Delegate { + }; +}; + //--------------------------------------------------------------------------- // These stubs are for Browser @@ -566,6 +572,7 @@ class Encryptor { class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> { public: typedef std::wstring Language; + typedef std::vector<Language> Languages; SpellChecker(const std::wstring& dict_dir, const Language& language, URLRequestContext* request_context, @@ -579,6 +586,12 @@ class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> { NOTIMPLEMENTED(); return true; } + static int GetSpellCheckLanguagesToDisplayInContextMenu( + Profile* profile, + Languages* display_languages) { + NOTIMPLEMENTED(); + return 0; + } }; class WebAppLauncher { @@ -747,4 +760,27 @@ class RepostFormWarningDialog { virtual ~RepostFormWarningDialog() { } }; +class PageInfoWindow { + public: + enum TabID { + GENERAL = 0, + SECURITY, + }; + static void CreatePageInfo(Profile* profile, NavigationEntry* nav_entry, + gfx::NativeView parent_hwnd, TabID tab) { + NOTIMPLEMENTED(); + } + static void CreateFrameInfo(Profile* profile, const GURL& url, + const NavigationEntry::SSLStatus& ssl, + gfx::NativeView parent_hwnd, TabID tab) { + NOTIMPLEMENTED(); + } +}; + +class FontsLanguagesWindowView { + public: + explicit FontsLanguagesWindowView(Profile* profile) { NOTIMPLEMENTED(); } + void SelectLanguagesTab() { NOTIMPLEMENTED(); } +}; + #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |