Searched defs:window_id (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dwindows_util.cc19 int window_id,
21 if (window_id == extension_misc::kCurrentWindowId) {
38 FindWindowForFunctionById(function, window_id);
42 base::IntToString(window_id)));
18 GetWindowFromWindowID(ChromeAsyncExtensionFunction* function, int window_id, extensions::WindowController** controller) argument
H A Dwindows_event_router.cc76 int window_id = window_controller->GetWindowId(); local
78 args->Append(new base::FundamentalValue(window_id));
112 int window_id,
129 event_args->Append(new base::FundamentalValue(window_id));
136 int window_id = extension_misc::kUnknownWindowId; local
140 window_id = window_controller->GetWindowId();
143 if (focused_window_id_ == window_id)
149 focused_window_id_ = window_id;
156 window_id);
111 WillDispatchWindowFocusedEvent(BrowserContext* new_active_context, int window_id, BrowserContext* context, const Extension* extension, base::ListValue* event_args) argument
/external/chromium_org/chrome/browser/sessions/
H A Dsession_tab_helper.h25 const SessionID& window_id() const { return window_id_; } function in class:SessionTabHelper
H A Dsession_types.h59 SessionID window_id; member in struct:SessionTab
114 SessionID window_id; member in struct:SessionWindow
H A Dsession_service_test_helper.cc25 void SessionServiceTestHelper::PrepareTabInWindow(const SessionID& window_id, argument
29 service()->SetTabWindow(window_id, tab_id);
30 service()->SetTabIndexInWindow(window_id, tab_id, visual_index);
32 service()->SetSelectedTabInWindow(window_id, visual_index);
36 const SessionID& window_id,
39 service()->SetTabExtensionAppID(window_id, tab_id, extension_app_id);
43 const SessionID& window_id,
46 service()->SetTabUserAgentOverride(window_id, tab_id, user_agent_override);
66 void SessionServiceTestHelper::AssertTabEquals(SessionID& window_id, argument
72 EXPECT_EQ(window_id
35 SetTabExtensionAppID( const SessionID& window_id, const SessionID& tab_id, const std::string& extension_app_id) argument
42 SetTabUserAgentOverride( const SessionID& window_id, const SessionID& tab_id, const std::string& user_agent_override) argument
[all...]
/external/chromium_org/ash/drag_drop/
H A Ddrag_drop_tracker_unittest.cc26 static int window_id = 0; local
29 window_id++,
/external/chromium_org/content/browser/
H A Dplugin_process_host_mac.cc22 void PluginProcessHost::OnPluginSelectWindow(uint32 window_id, argument
25 plugin_visible_windows_set_.insert(window_id);
27 plugin_modal_windows_set_.insert(window_id);
30 void PluginProcessHost::OnPluginShowWindow(uint32 window_id, argument
33 plugin_visible_windows_set_.insert(window_id);
35 plugin_modal_windows_set_.insert(window_id);
42 (plugin_fullscreen_windows_set_.find(window_id) ==
44 plugin_fullscreen_windows_set_.insert(window_id);
68 void PluginProcessHost::OnPluginHideWindow(uint32 window_id, argument
71 plugin_visible_windows_set_.erase(window_id);
[all...]
/external/chromium_org/chrome/browser/apps/
H A Dapp_window_browsertest.cc24 const std::string& window_id,
28 window_id_(window_id),
48 const std::string& window_id,
51 if (extension_id != extension_id_ || window_id != window_id_)
22 GeometryCacheChangeHelper(ShellWindowGeometryCache* cache, const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds) argument
H A Dapp_browsertest_util.cc125 int window_id,
131 base::StringPrintf("[%u]", window_id),
124 RunGetWindowFunctionForExtension( int window_id, const Extension* extension) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_tab_id_map.cc60 // TODO(mpcmoplete): How can we tell if window_id is bogus? It may not
69 contents->controller().window_id().id()));
83 controller->window_id().id()));
126 int render_process_host_id, int routing_id, int tab_id, int window_id) {
129 map_[render_id] = TabAndWindowId(tab_id, window_id);
140 int render_process_host_id, int routing_id, int* tab_id, int* window_id) {
146 *window_id = iter->second.second;
125 SetTabAndWindowId( int render_process_host_id, int routing_id, int tab_id, int window_id) argument
139 GetTabAndWindowId( int render_process_host_id, int routing_id, int* tab_id, int* window_id) argument
/external/chromium/chrome/browser/sessions/
H A Dsession_service_test_helper.cc29 void SessionServiceTestHelper::PrepareTabInWindow(const SessionID& window_id, argument
33 service()->SetTabWindow(window_id, tab_id);
34 service()->SetTabIndexInWindow(window_id, tab_id, visual_index);
36 service()->SetSelectedTabInWindow(window_id, visual_index);
40 const SessionID& window_id,
43 service()->SetTabExtensionAppID(window_id, tab_id, extension_app_id);
55 void SessionServiceTestHelper::AssertTabEquals(SessionID& window_id, argument
61 EXPECT_EQ(window_id.id(), session_tab.window_id.id());
39 SetTabExtensionAppID( const SessionID& window_id, const SessionID& tab_id, const std::string& extension_app_id) argument
H A Dtab_restore_service_browsertest.cc87 SessionID window_id; local
88 session_service->SetWindowType(window_id, Browser::TYPE_NORMAL);
89 session_service->SetTabWindow(window_id, tab_id);
90 session_service->SetTabIndexInWindow(window_id, tab_id, 0);
91 session_service->SetSelectedTabInWindow(window_id, 0);
93 session_service->SetPinnedState(window_id, tab_id, true);
96 session_service->UpdateTabNavigation(window_id, tab_id, 0, entry);
H A Dsession_service_unittest.cc49 service()->SetWindowType(window_id, Browser::TYPE_NORMAL);
50 service()->SetWindowBounds(window_id, window_bounds, false);
66 void UpdateNavigation(const SessionID& window_id, argument
79 service()->UpdateTabNavigation(window_id, tab_id, index, entry);
81 service()->SetSelectedNavigationIndex(window_id, tab_id, index);
104 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
105 UpdateNavigation(window_id, tab_id, nav1, 0, true);
108 helper_.service()->SetPinnedState(window_id, tab_id, pinned_state);
121 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
132 SessionID window_id; member in class:SessionServiceTest
[all...]
H A Dsession_types.h106 SessionID window_id; member in struct:SessionTab
154 SessionID window_id; member in struct:SessionWindow
/external/chromium_org/apps/
H A Dshell_window_geometry_cache_unittest.cc36 const std::string& window_id,
58 const std::string& window_id,
73 dict->SetWithoutPathExpansion(window_id, value);
198 const std::string window_id(kWindowId);
207 cache_->SaveGeometry(extension_id, window_id, bounds, screen_bounds, state);
214 extension_id, window_id, &new_bounds, &new_screen_bounds, &new_state));
227 ASSERT_TRUE(dict->HasKey(window_id));
229 ASSERT_TRUE(dict->GetInteger(window_id + ".x", &v));
231 ASSERT_TRUE(dict->GetInteger(window_id + ".y", &v));
233 ASSERT_TRUE(dict->GetInteger(window_id
56 AddGeometryAndLoadExtension( const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds, const gfx::Rect& screen_bounds, ui::WindowShowState state) argument
324 std::string window_id = "window_" + base::IntToString(i); local
333 std::string window_id = "window_" + base::IntToString(i); local
[all...]
H A Dshell_window_geometry_cache.cc51 const std::string& window_id,
59 if (extension_data[window_id].bounds == bounds &&
60 extension_data[window_id].window_state == window_state &&
61 extension_data[window_id].screen_bounds == screen_bounds &&
67 extension_data[window_id].bounds = bounds;
68 extension_data[window_id].screen_bounds = screen_bounds;
69 extension_data[window_id].window_state = window_state;
70 extension_data[window_id].last_change = now;
78 if (it->first == window_id) continue;
142 const std::string& window_id,
49 SaveGeometry( const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds, const gfx::Rect& screen_bounds, ui::WindowShowState window_state) argument
140 GetGeometry( const std::string& extension_id, const std::string& window_id, gfx::Rect* bounds, gfx::Rect* screen_bounds, ui::WindowShowState* window_state) argument
235 const std::string& window_id = it.key(); local
[all...]
/external/chromium_org/content/plugin/
H A Dplugin_carbon_interpose_mac.cc30 uint32 window_id; member in struct:WindowInfo
33 window_id = HIWindowGetCGWindowID(window);
39 mac_plugin_interposing::NotifyBrowserOfPluginHideWindow(window_info.window_id,
/external/chromium/chrome/browser/
H A Dplugin_carbon_interpose_mac.cc35 uint32 window_id; member in struct:WindowInfo
38 window_id = HIWindowGetCGWindowID(window);
44 mac_plugin_interposing::NotifyBrowserOfPluginHideWindow(window_info.window_id,
/external/chromium_org/chrome/browser/extensions/
H A Dextension_renderer_state.cc107 // TODO(mpcomplete): How can we tell if window_id is bogus? It may not
116 session_tab_helper->window_id().id()));
137 session_tab_helper->window_id().id()));
156 session_tab_helper->window_id().id()));
189 int render_process_host_id, int routing_id, int tab_id, int window_id) {
192 map_[render_id] = TabAndWindowId(tab_id, window_id);
203 int render_process_host_id, int routing_id, int* tab_id, int* window_id) {
209 *window_id = iter->second.second;
188 SetTabAndWindowId( int render_process_host_id, int routing_id, int tab_id, int window_id) argument
202 GetTabAndWindowId( int render_process_host_id, int routing_id, int* tab_id, int* window_id) argument
/external/chromium_org/chrome/browser/media/
H A Dnative_desktop_media_list_unittest.cc73 // generated for |window_id|. By default generated frames are set to zeros.
74 void SetNextFrameValue(WindowId window_id, int8_t value) { argument
76 frame_values_[window_id] = value;
/external/chromium_org/chrome/browser/sync/glue/
H A Dsession_sync_test_helper.cc34 int window_id,
39 window->set_window_id(window_id);
96 int window_id,
33 AddWindowSpecifics( int window_id, const std::vector<int>& tab_list, sync_pb::SessionSpecifics* meta) argument
94 BuildTabSpecifics( const std::string& tag, int window_id, int tab_id, sync_pb::SessionSpecifics* tab_base) argument
/external/chromium_org/chrome/browser/ui/toolbar/
H A Drecent_tabs_sub_menu_model_unittest.cc224 SessionID window_id; local
226 window_id, Browser::TYPE_TABBED, SessionService::TYPE_NORMAL);
227 session_service->SetTabWindow(window_id, tab_id);
228 session_service->SetTabIndexInWindow(window_id, tab_id, 0);
229 session_service->SetSelectedTabInWindow(window_id, 0);
231 window_id, tab_id,
/external/chromium_org/chrome_frame/test/
H A Dmock_ie_event_sink_actions.h169 long window_id = GetWindowLong(window, GWL_ID); local
170 ::SendMessage(arg0, WM_COMMAND, MAKEWPARAM(window_id, BN_CLICKED),
/external/chromium_org/chrome/browser/android/
H A Dtab_android.cc331 SessionID window_id; local
332 window_id.set_id(model->GetSessionId());
336 session_tab_helper->SetWindowID(window_id);
/external/chromium_org/chrome/browser/extensions/api/sessions/
H A Dsessions_apitest.cc42 void BuildWindowSpecifics(int window_id, argument
47 window->set_window_id(window_id);
56 void BuildTabSpecifics(const std::string& tag, int window_id, int tab_id, argument

Completed in 1595 milliseconds

123