chromium/chrome/browser/ui/views/extensions/extension_action_platform_delegate_views.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/extensions/extension_action_platform_delegate_views.h"

#include <utility>

#include "base/check.h"
#include "base/memory/ptr_util.h"
#include "chrome/browser/extensions/extension_view_host.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/extensions/accelerator_priority.h"
#include "chrome/browser/ui/extensions/extension_action_view_controller.h"
#include "chrome/browser/ui/views/extensions/extension_popup.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_action_view_delegate_views.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "extensions/browser/extension_action.h"
#include "extensions/common/api/extension_action/action_info.h"
#include "extensions/common/command.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_constants.h"
#include "ui/views/view.h"

ActionInfo;

// static
std::unique_ptr<ExtensionActionPlatformDelegate>
ExtensionActionPlatformDelegate::Create(
    ExtensionActionViewController* controller) {}

ExtensionActionPlatformDelegateViews::ExtensionActionPlatformDelegateViews(
    ExtensionActionViewController* controller)
    :{}

ExtensionActionPlatformDelegateViews::~ExtensionActionPlatformDelegateViews() {}

void ExtensionActionPlatformDelegateViews::RegisterCommand() {}

void ExtensionActionPlatformDelegateViews::UnregisterCommand() {}

void ExtensionActionPlatformDelegateViews::ShowPopup(
    std::unique_ptr<extensions::ExtensionViewHost> host,
    PopupShowAction show_action,
    ShowPopupCallback callback) {}

void ExtensionActionPlatformDelegateViews::OnExtensionCommandAdded(
    const std::string& extension_id,
    const extensions::Command& command) {}

void ExtensionActionPlatformDelegateViews::OnExtensionCommandRemoved(
    const std::string& extension_id,
    const extensions::Command& command) {}

void ExtensionActionPlatformDelegateViews::OnCommandServiceDestroying() {}

bool ExtensionActionPlatformDelegateViews::AcceleratorPressed(
    const ui::Accelerator& accelerator) {}

bool ExtensionActionPlatformDelegateViews::CanHandleAccelerators() const {}

ToolbarActionViewDelegateViews*
ExtensionActionPlatformDelegateViews::GetDelegateViews() const {}