| Index: chrome/browser/tab_contents/introducer_handler.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/introducer_handler.h (revision 0)
|
| +++ chrome/browser/tab_contents/introducer_handler.h (revision 0)
|
| @@ -0,0 +1,39 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
|
| +#define CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
|
| +#pragma once
|
| +
|
| +#include <map>
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +class ContextMenuParams;
|
| +class PrefService;
|
| +class Profile;
|
| +class TabContents;
|
| +class TabContentsObserver;
|
| +namespace ui {
|
| +class SimpleMenuModel;
|
| +}
|
| +
|
| +class IntroducerService {
|
| + public:
|
| + static TabContentsObserver* Make(TabContents* tab);
|
| + static void RegisterUserPrefs(PrefService* user_prefs);
|
| + static bool InitMenu(
|
| + TabContents* tab, Profile* profile, const ContextMenuParams& params,
|
| + std::map< int, std::pair<std::string,std::string> >* commands,
|
| + ui::SimpleMenuModel* menu);
|
| + static bool Introduce(
|
| + TabContents* tab, Profile* profile, const ContextMenuParams& params,
|
| + const std::pair<std::string,std::string>& selection);
|
| + static void Dismiss(TabContents* tab, int request_id);
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(IntroducerService);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
|
|
|
| Property changes on: chrome/browser/tab_contents/introducer_handler.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|