root/chrome/browser/guestview/webview/context_menu_content_type_webview.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// 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_GUESTVIEW_WEBVIEW_CONTEXT_MENU_CONTENT_TYPE_WEBVIEW_H_
#define CHROME_BROWSER_GUESTVIEW_WEBVIEW_CONTEXT_MENU_CONTENT_TYPE_WEBVIEW_H_

#include "chrome/browser/renderer_context_menu/context_menu_content_type.h"

// A ContextMenuContentType for <webview> guest.
// Guests are rendered inside chrome apps, but have most of the actions
// that a regular web page has. Currently actions/items that are suppressed from
// guests are: searching, printing, speech and instant.
class ContextMenuContentTypeWebView : public ContextMenuContentType {
 public:
  virtual ~ContextMenuContentTypeWebView();

  // ContextMenuContentType overrides.
  virtual bool SupportsGroup(int group) OVERRIDE;

 protected:
  ContextMenuContentTypeWebView(content::RenderFrameHost* render_frame_host,
                                const content::ContextMenuParams& params);

 private:
  friend class ContextMenuContentTypeFactory;

  DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeWebView);
};

#endif  // CHROME_BROWSER_GUESTVIEW_WEBVIEW_CONTEXT_MENU_CONTENT_TYPE_WEBVIEW_H_

/* [<][>][^][v][top][bottom][index][help] */