This source file includes following definitions.
- GetWindowId
- GetWindowIdOfTabStripModel
- GetTabId
- GetWindowIdOfTab
- CreateTabValue
- CreateTabList
- CreateTabValue
- GetTabStripModel
- GetDefaultTab
- GetTabById
- ResolvePossiblyRelativeURL
- IsCrashURL
- CreateTab
- ForEachTab
- GetWindowControllerOfTab
#include "chrome/browser/extensions/extension_tab_util.h"
#include "base/logging.h"
#include "chrome/browser/sessions/session_id.h"
#include "url/gurl.h"
using content::WebContents;
namespace extensions {
int ExtensionTabUtil::GetWindowId(const Browser* browser) {
NOTIMPLEMENTED();
return -1;
}
int ExtensionTabUtil::GetWindowIdOfTabStripModel(
const TabStripModel* tab_strip_model) {
NOTIMPLEMENTED();
return -1;
}
int ExtensionTabUtil::GetTabId(const WebContents* web_contents) {
return SessionID::IdForTab(web_contents);
}
int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) {
NOTIMPLEMENTED();
return -1;
}
base::DictionaryValue* ExtensionTabUtil::CreateTabValue(
const WebContents* contents,
TabStripModel* tab_strip,
int tab_index,
const Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
base::ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser,
const Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
base::DictionaryValue* ExtensionTabUtil::CreateTabValue(
const WebContents* contents,
TabStripModel* tab_strip,
int tab_index) {
NOTIMPLEMENTED();
return NULL;
}
bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents,
TabStripModel** tab_strip_model,
int* tab_index) {
NOTIMPLEMENTED();
return false;
}
bool ExtensionTabUtil::GetDefaultTab(Browser* browser,
content::WebContents** contents,
int* tab_id) {
NOTIMPLEMENTED();
return false;
}
bool ExtensionTabUtil::GetTabById(int tab_id,
Profile* profile,
bool include_incognito,
Browser** browser,
TabStripModel** tab_strip,
content::WebContents** contents,
int* tab_index) {
NOTIMPLEMENTED();
return false;
}
GURL ExtensionTabUtil::ResolvePossiblyRelativeURL(const std::string& url_string,
const Extension* extension) {
NOTIMPLEMENTED();
return GURL();
}
bool ExtensionTabUtil::IsCrashURL(const GURL& url) {
NOTIMPLEMENTED();
return false;
}
void ExtensionTabUtil::CreateTab(WebContents* web_contents,
const std::string& extension_id,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
bool user_gesture) {
NOTIMPLEMENTED();
}
void ExtensionTabUtil::ForEachTab(
const base::Callback<void(WebContents*)>& callback) {
NOTIMPLEMENTED();
}
WindowController* ExtensionTabUtil::GetWindowControllerOfTab(
const WebContents* web_contents) {
NOTIMPLEMENTED();
return NULL;
}
}