blob: a5c775749a5fd77daa723534f904bf9bde21029a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2013 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_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_
#include <string>
class GURL;
class Profile;
namespace extensions {
class PageLauncherAPI {
public:
static void DispatchOnClickedEvent(Profile* profile,
const std::string& extension_id,
const GURL& url,
const std::string& mimetype,
const std::string* page_title,
const std::string* selected_text);
};
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_
|