| Index: chrome/browser/tab_contents/menu_context/menu_context_factory.h
|
| diff --git a/chrome/browser/tab_contents/menu_context/menu_context_factory.h b/chrome/browser/tab_contents/menu_context/menu_context_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8e433d7b637cdb83e304f520f11eb98d834df1c3
|
| --- /dev/null
|
| +++ b/chrome/browser/tab_contents/menu_context/menu_context_factory.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2014 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_MENU_CONTEXT_MENU_CONTEXT_FACTORY_H_
|
| +#define CHROME_BROWSER_TAB_CONTENTS_MENU_CONTEXT_MENU_CONTEXT_FACTORY_H_
|
| +
|
| +#include "content/public/common/context_menu_params.h"
|
| +
|
| +class MenuContext;
|
| +
|
| +namespace content {
|
| +class RenderFrameHost;
|
| +class WebContents;
|
| +}
|
| +
|
| +class MenuContextFactory {
|
| + public:
|
| + static MenuContext* Create(content::WebContents* web_contents,
|
| + content::RenderFrameHost* render_frame_host,
|
| + const content::ContextMenuParams& params);
|
| +
|
| + private:
|
| + MenuContextFactory();
|
| + virtual ~MenuContextFactory();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(MenuContextFactory);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_TAB_CONTENTS_MENU_CONTEXT_MENU_CONTEXT_FACTORY_H_
|
|
|