HomeSort by relevance Sort by last modified time
    Searched refs:tab_id (Results 1 - 25 of 199) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium/chrome/browser/extensions/
extension_devtools_events.h 20 // the tab id of the event is put in *tab_id.
21 static bool IsDevToolsEventName(const std::string& event_name, int* tab_id);
24 static std::string OnPageEventNameForTab(int tab_id);
27 static std::string OnTabCloseEventNameForTab(int tab_id);
extension_devtools_manager.cc 25 int tab_id; local
26 if (ExtensionDevToolsEvents::IsDevToolsEventName(event_name, &tab_id)) {
29 tab_id_to_render_process_ids_[tab_id].insert(render_process_id);
30 if (tab_id_to_bridge_.count(tab_id) == 0) {
33 new ExtensionDevToolsBridge(tab_id, profile_));
35 tab_id_to_bridge_[tab_id] = bridge;
44 int tab_id; local
45 if (ExtensionDevToolsEvents::IsDevToolsEventName(event_name, &tab_id)) {
47 tab_id_to_render_process_ids_.find(tab_id);
54 if (tab_id_to_bridge_.count(tab_id) != 0)
    [all...]
extension_devtools_events.cc 22 const std::string& event_name, int* tab_id) {
33 if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) {
41 std::string ExtensionDevToolsEvents::OnPageEventNameForTab(int tab_id) {
44 tab_id,
49 std::string ExtensionDevToolsEvents::OnTabCloseEventNameForTab(int tab_id) {
52 tab_id,
extension_page_actions_module.cc 43 int tab_id; local
44 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kTabIdKey, &tab_id));
75 tab_id, profile(), include_incognito(), NULL, NULL, &contents, NULL);
78 kNoTabError, base::IntToString(tab_id));
90 page_action->SetIsVisible(tab_id, enable);
91 page_action->SetTitle(tab_id, title);
92 page_action->SetIconIndex(tab_id, icon_id);
98 bool PageActionFunction::InitCommon(int tab_id) {
109 tab_id, profile(), include_incognito(), NULL, NULL, &wrapper, NULL);
112 kNoTabError, base::IntToString(tab_id));
121 int tab_id; local
151 int tab_id; local
187 int tab_id; local
204 int tab_id; local
229 int tab_id; local
255 int tab_id; local
281 int tab_id; local
    [all...]
extension_clipboard_api.cc 21 int tab_id; local
22 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
25 if (!ExtensionTabUtil::GetTabById(tab_id, profile(), include_incognito(),
28 kNoTabError, base::IntToString(tab_id));
page_action_apitest.cc 32 int tab_id = local
36 EXPECT_EQ("Modified", action->GetTitle(tab_id));
41 int tab_id = local
45 browser()->profile(), extension->id(), "", tab_id, "", 0); local
58 tab_id = browser()->GetSelectedTabContents()->controller().session_id().id();
59 EXPECT_FALSE(action->GetIcon(tab_id).isNull());
69 int tab_id = ExtensionTabUtil::GetTabId(browser()->GetSelectedTabContents()); local
75 ASSERT_FALSE(page_action->HasPopup(tab_id));
83 browser()->profile(), extension->id(), "action", tab_id, "", 1); local
87 ASSERT_TRUE(page_action->HasPopup(tab_id))
115 int tab_id = ExtensionTabUtil::GetTabId(browser()->GetSelectedTabContents()); local
155 int tab_id = local
159 browser()->profile(), extension->id(), "action", tab_id, "", 1); local
    [all...]
extension_infobar_module.cc 30 int tab_id; local
31 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTabId, &tab_id));
42 tab_id,
51 base::IntToString(tab_id));
extension_debugger_api.h 26 bool InitTabContents(int tab_id);
27 bool InitClientHost(int tab_id);
extension_tab_id_map.h 30 int render_process_host_id, int routing_id, int* tab_id, int* window_id);
46 int render_process_host_id, int routing_id, int tab_id, int window_id);
  /external/chromium/chrome/common/extensions/
extension_action.h 29 // Use this ID to indicate the default state for properties that take a tab_id
51 void SetPopupUrl(int tab_id, const GURL& url);
54 bool HasPopup(int tab_id);
57 GURL GetPopupUrl(int tab_id);
60 void SetTitle(int tab_id, const std::string& title) {
61 SetValue(&title_, tab_id, title);
64 // If tab |tab_id| has a set title, return it. Otherwise, return
66 std::string GetTitle(int tab_id) { return GetValue(&title_, tab_id); }
76 void SetIcon(int tab_id, const SkBitmap& bitmap)
    [all...]
extension_action.cc 61 void ExtensionAction::SetPopupUrl(int tab_id, const GURL& url) {
67 SetValue(&popup_url_, tab_id, url);
70 bool ExtensionAction::HasPopup(int tab_id) {
71 return !GetPopupUrl(tab_id).is_empty();
74 GURL ExtensionAction::GetPopupUrl(int tab_id) {
75 return GetValue(&popup_url_, tab_id);
78 void ExtensionAction::SetIcon(int tab_id, const SkBitmap& bitmap) {
79 SetValue(&icon_, tab_id, bitmap);
82 SkBitmap ExtensionAction::GetIcon(int tab_id) {
83 return GetValue(&icon_, tab_id);
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
tab_finder.cc 17 content::RenderView* TabFinder::Find(int tab_id) {
18 TabFinder finder(tab_id);
23 TabFinder::TabFinder(int tab_id) : tab_id_(tab_id), view_(NULL) {}
34 if (helper && helper->tab_id() == tab_id_)
tab_finder.h 21 // Returns the top RenderView with |tab_id|, or NULL if none is found.
22 static content::RenderView* Find(int tab_id);
25 explicit TabFinder(int tab_id);
  /external/chromium_org/chrome/browser/extensions/
extension_action.h 42 // Use this ID to indicate the default state for properties that take a tab_id
147 void SetPopupUrl(int tab_id, const GURL& url);
150 bool HasPopup(int tab_id) const;
153 GURL GetPopupUrl(int tab_id) const;
156 void SetTitle(int tab_id, const std::string& title) {
157 SetValue(&title_, tab_id, title);
160 // If tab |tab_id| has a set title, return it. Otherwise, return
162 std::string GetTitle(int tab_id) const { return GetValue(&title_, tab_id); }
171 void SetIcon(int tab_id, const gfx::Image& image)
    [all...]
extension_action.cc 221 void ExtensionAction::SetPopupUrl(int tab_id, const GURL& url) {
227 SetValue(&popup_url_, tab_id, url);
230 bool ExtensionAction::HasPopup(int tab_id) const {
231 return !GetPopupUrl(tab_id).is_empty();
234 GURL ExtensionAction::GetPopupUrl(int tab_id) const {
235 return GetValue(&popup_url_, tab_id);
238 void ExtensionAction::SetIcon(int tab_id, const gfx::Image& image) {
239 SetValue(&icon_, tab_id, image.AsImageSkia());
244 int tab_id) const {
246 if (GetValue(&appearance_, tab_id) == WANTS_ATTENTION
    [all...]
page_action_controller_unittest.cc 59 int tab_id() { function in class:extensions::__anon4970::PageActionControllerTest
91 page_action.SetTitle(tab_id(), "Goodbye");
93 tab_id(), extension->GetResourceURL("popup.html"));
95 EXPECT_EQ("Goodbye", page_action.GetTitle(tab_id()));
97 page_action.GetPopupUrl(tab_id()));
102 EXPECT_EQ("Goodbye", page_action.GetTitle(tab_id()));
104 page_action.GetPopupUrl(tab_id()));
109 EXPECT_EQ("Hello", page_action.GetTitle(tab_id()));
110 EXPECT_EQ(GURL(), page_action.GetPopupUrl(tab_id()));
active_tab_unittest.cc 78 int tab_id() { function in class:extensions::__anon4605::ActiveTabTest
89 return IsAllowed(extension, url, tab_id());
94 int tab_id) {
96 extension.get(), url, url, tab_id, NULL, -1, NULL) &&
98 extension.get(), url, tab_id, NULL) &&
99 HasTabsPermission(extension, tab_id);
104 return IsBlocked(extension, url, tab_id());
109 int tab_id) {
112 extension.get(), url, url, tab_id, NULL, -1, NULL) &&
114 extension.get(), url, tab_id, NULL)
    [all...]
extension_action_icon_factory.cc 54 gfx::Image ExtensionActionIconFactory::GetIcon(int tab_id) {
55 gfx::ImageSkia base_icon = GetBaseIconFromAction(tab_id);
56 return action_->ApplyAttentionAndAnimation(base_icon, tab_id);
59 gfx::ImageSkia ExtensionActionIconFactory::GetBaseIconFromAction(int tab_id) {
60 gfx::ImageSkia icon = action_->GetExplicitlySetIcon(tab_id);
  /external/chromium/chrome/browser/
aeropeek_manager.h 45 virtual void ActivateTab(int tab_id) = 0;
46 virtual void CloseTab(int tab_id) = 0;
48 virtual bool GetTabThumbnail(int tab_id, SkBitmap* thumbnail) = 0;
49 virtual bool GetTabPreview(int tab_id, SkBitmap* preview) = 0;
131 virtual void CloseTab(int tab_id);
132 virtual void ActivateTab(int tab_id);
134 virtual bool GetTabThumbnail(int tab_id, SkBitmap* thumbnail);
135 virtual bool GetTabPreview(int tab_id, SkBitmap* preview);
140 void DeleteAeroPeekWindow(int tab_id);
148 AeroPeekWindow* GetAeroPeekWindow(int tab_id) const
    [all...]
  /external/chromium_org/chrome/browser/omnibox/
omnibox_log.cc 12 SessionID::id_type tab_id,
22 tab_id(tab_id),
  /external/chromium_org/chrome/browser/extensions/api/extension_action/
script_badge_apitest.cc 57 const int tab_id = SessionID::IdForTab( local
60 script_badge->GetPopupUrl(tab_id));
62 EXPECT_FALSE(script_badge->GetIsVisible(tab_id));
76 script_badge->GetPopupUrl(tab_id));
82 browser()->profile(), *script_badge, tab_id);
94 EXPECT_TRUE(script_badge->GetIsVisible(tab_id));
page_action_apitest.cc 52 int tab_id = SessionTabHelper::FromWebContents( local
56 EXPECT_EQ("Modified", action->GetTitle(tab_id));
61 int tab_id = ExtensionTabUtil::GetTabId( local
64 browser()->profile(), *action, tab_id, std::string(), 0);
81 tab_id = SessionTabHelper::FromWebContents(
83 EXPECT_FALSE(icon_factory.GetIcon(tab_id).IsEmpty());
93 int tab_id = ExtensionTabUtil::GetTabId( local
100 ASSERT_FALSE(page_action->HasPopup(tab_id));
107 browser()->profile(), *page_action, tab_id, std::string(), 1);
111 ASSERT_TRUE(page_action->HasPopup(tab_id))
139 int tab_id = ExtensionTabUtil::GetTabId( local
181 int tab_id = ExtensionTabUtil::GetTabId( local
252 int tab_id = ExtensionTabUtil::GetTabId( local
    [all...]
page_as_browser_action_apitest.cc 84 int tab_id = ExtensionTabUtil::GetTabId( local
89 EXPECT_EQ("Modified", action->GetTitle(tab_id));
113 EXPECT_FALSE(icon_factory.GetIcon(tab_id).IsEmpty());
123 int tab_id = ExtensionTabUtil::GetTabId( local
131 ASSERT_FALSE(page_action->HasPopup(tab_id));
142 ASSERT_TRUE(page_action->HasPopup(tab_id))
146 page_action->GetPopupUrl(tab_id).path().c_str());
158 ASSERT_TRUE(page_action->HasPopup(tab_id));
160 page_action->GetPopupUrl(tab_id).path().c_str());
170 int tab_id = ExtensionTabUtil::GetTabId local
    [all...]
  /external/chromium_org/chrome/browser/sessions/
session_service_test_helper.cc 26 const SessionID& tab_id,
29 service()->SetTabWindow(window_id, tab_id);
30 service()->SetTabIndexInWindow(window_id, tab_id, visual_index);
37 const SessionID& tab_id,
39 service()->SetTabExtensionAppID(window_id, tab_id, extension_app_id);
44 const SessionID& tab_id,
46 service()->SetTabUserAgentOverride(window_id, tab_id, user_agent_override);
67 SessionID& tab_id,
73 EXPECT_EQ(tab_id.id(), session_tab.tab_id.id())
    [all...]
session_service_unittest.cc 78 const SessionID& tab_id,
81 service()->UpdateTabNavigation(window_id, tab_id, navigation);
84 window_id, tab_id, navigation.index());
108 SessionID tab_id; local
113 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
114 UpdateNavigation(window_id, tab_id, nav1, true);
117 helper_.service()->SetPinnedState(window_id, tab_id, pinned_state);
130 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
177 SessionID tab_id; local
178 ASSERT_NE(window_id.id(), tab_id.id())
207 SessionID tab_id; local
225 SessionID tab_id; local
258 SessionID tab_id; local
371 SessionID tab_id; local
409 SessionID tab_id; local
455 SessionID tab_id; local
497 SessionID tab_id; local
548 SessionID tab_id; local
602 SessionID tab_id; local
645 SessionID tab_id; local
685 SessionID tab_id; local
706 SessionID tab_id; local
742 SessionID tab_id; local
761 SessionID tab_id; local
779 SessionID tab_id; local
818 SessionID tab_id; local
876 SessionID tab_id; local
907 SessionID tab_id; local
990 SessionID tab_id; local
    [all...]

Completed in 319 milliseconds

1 2 3 4 5 6 7 8