/external/chromium_org/content/plugin/ |
H A D | plugin_interpose_util_mac.h | 30 void NotifyBrowserOfPluginSelectWindow(uint32 window_id, CGRect bounds, 35 void NotifyBrowserOfPluginShowWindow(uint32 window_id, CGRect bounds, 41 void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds);
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
H A D | windows_util.cc | 19 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 D | windows_util.h | 16 // Populates |controller| for given |window_id|. If the window is not found, 19 int window_id,
|
H A D | windows_event_router.cc | 76 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/content/browser/ |
H A D | plugin_process_host_mac.cc | 22 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/sessions/ |
H A D | session_service_test_helper.cc | 25 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...] |
H A D | session_service_unittest.cc | 57 window_id, Browser::TYPE_TABBED, SessionService::TYPE_NORMAL); 58 service()->SetWindowBounds(window_id, 77 const SessionID& window_id, 81 service()->UpdateTabNavigation(window_id, tab_id, navigation); 84 window_id, tab_id, navigation.index()); 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); 146 helper_.PrepareTabInWindow(window_id, tab1_i 76 UpdateNavigation( const SessionID& window_id, const SessionID& tab_id, const SerializedNavigationEntry& navigation, bool select) argument 165 SessionID window_id; member in class:SessionServiceTest [all...] |
H A D | session_service.h | 99 void SetTabWindow(const SessionID& window_id, 103 void SetWindowBounds(const SessionID& window_id, 108 void SetTabIndexInWindow(const SessionID& window_id, 113 void SetPinnedState(const SessionID& window_id, 122 void TabClosed(const SessionID& window_id, 130 void WindowClosing(const SessionID& window_id); 133 void WindowClosed(const SessionID& window_id); 144 void SetWindowType(const SessionID& window_id, 149 void SetWindowAppName(const SessionID& window_id, 154 void TabNavigationPathPrunedFromBack(const SessionID& window_id, [all...] |
H A D | session_service_test_helper.h | 33 void PrepareTabInWindow(const SessionID& window_id, 38 void SetTabExtensionAppID(const SessionID& window_id, 42 void SetTabUserAgentOverride(const SessionID& window_id, 53 void AssertTabEquals(SessionID& window_id,
|
H A D | session_service.cc | 98 SessionID::id_type window_id; member in struct:__anon5904::WindowBoundsPayload2 107 SessionID::id_type window_id; member in struct:__anon5904::WindowBoundsPayload3 235 void SessionService::SetTabWindow(const SessionID& window_id, argument 237 if (!ShouldTrackChangesToWindow(window_id)) 240 ScheduleCommand(CreateSetTabWindowCommand(window_id, tab_id)); 243 void SessionService::SetWindowBounds(const SessionID& window_id, argument 246 if (!ShouldTrackChangesToWindow(window_id)) 249 ScheduleCommand(CreateSetWindowBoundsCommand(window_id, bounds, show_state)); 252 void SessionService::SetTabIndexInWindow(const SessionID& window_id, argument 255 if (!ShouldTrackChangesToWindow(window_id)) 261 SetPinnedState(const SessionID& window_id, const SessionID& tab_id, bool is_pinned) argument 270 TabClosed(const SessionID& window_id, const SessionID& tab_id, bool closed_by_user_gesture) argument 317 WindowClosing(const SessionID& window_id) argument 337 WindowClosed(const SessionID& window_id) argument 361 SetWindowType(const SessionID& window_id, Browser::Type type, AppType app_type) argument 380 SetWindowAppName( const SessionID& window_id, const std::string& app_name) argument 392 TabNavigationPathPrunedFromBack(const SessionID& window_id, const SessionID& tab_id, int count) argument 408 TabNavigationPathPrunedFromFront( const SessionID& window_id, const SessionID& tab_id, int count) argument 433 UpdateTabNavigation( const SessionID& window_id, const SessionID& tab_id, const SerializedNavigationEntry& navigation) argument 462 SetSelectedNavigationIndex(const SessionID& window_id, const SessionID& tab_id, int index) argument 481 SetSelectedTabInWindow(const SessionID& window_id, int index) argument 489 SetTabUserAgentOverride( const SessionID& window_id, const SessionID& tab_id, const std::string& user_agent_override) argument 697 SetTabExtensionAppID( const SessionID& window_id, const SessionID& tab_id, const std::string& extension_app_id) argument 708 CreateSetSelectedTabInWindow( const SessionID& window_id, int index) argument 720 CreateSetTabWindowCommand( const SessionID& window_id, const SessionID& tab_id) argument 730 CreateSetWindowBoundsCommand( const SessionID& window_id, const gfx::Rect& bounds, ui::WindowShowState show_state) argument 774 CreateWindowClosedCommand( const SessionID::id_type window_id) argument 799 CreateSetWindowTypeCommand( const SessionID& window_id, WindowType type) argument 832 CreateSetActiveWindowCommand( const SessionID& window_id) argument 888 GetWindow( SessionID::id_type window_id, IdToSessionWindow* windows) argument 1208 SessionID::id_type window_id; local 1274 BuildCommandsForTab(const SessionID& window_id, WebContents* tab, int index_in_window, bool is_pinned, std::vector<SessionCommand*>* commands, IdToRange* tab_to_available_range) argument 1514 const SessionID::id_type window_id = browser->session_id().id(); local [all...] |
H A D | session_types.cc | 27 window_id.set_id(sync_data.window_id()); 46 sync_data.set_window_id(window_id.id());
|
H A D | session_id.cc | 25 return session_tab_helper ? session_tab_helper->window_id().id() : -1;
|
H A D | session_tab_helper.h | 25 const SessionID& window_id() const { return window_id_; } function in class:SessionTabHelper
|
/external/chromium/chrome/browser/sessions/ |
H A D | session_service_unittest.cc | 49 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 D | session_service.h | 76 void SetTabWindow(const SessionID& window_id, 80 void SetWindowBounds(const SessionID& window_id, 85 void SetTabIndexInWindow(const SessionID& window_id, 90 void SetPinnedState(const SessionID& window_id, 99 void TabClosed(const SessionID& window_id, 104 void WindowClosing(const SessionID& window_id); 107 void WindowClosed(const SessionID& window_id); 112 void SetWindowType(const SessionID& window_id, Browser::Type type); 116 void TabNavigationPathPrunedFromBack(const SessionID& window_id, 122 void TabNavigationPathPrunedFromFront(const SessionID& window_id, [all...] |
H A D | session_service_test_helper.cc | 29 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 D | session_service.cc | 98 SessionID::id_type window_id; member in struct:__anon2439::WindowBoundsPayload2 179 void SessionService::SetTabWindow(const SessionID& window_id, argument 181 if (!ShouldTrackChangesToWindow(window_id)) 184 ScheduleCommand(CreateSetTabWindowCommand(window_id, tab_id)); 187 void SessionService::SetWindowBounds(const SessionID& window_id, argument 190 if (!ShouldTrackChangesToWindow(window_id)) 193 ScheduleCommand(CreateSetWindowBoundsCommand(window_id, bounds, 197 void SessionService::SetTabIndexInWindow(const SessionID& window_id, argument 200 if (!ShouldTrackChangesToWindow(window_id)) 206 void SessionService::SetPinnedState(const SessionID& window_id, argument 215 TabClosed(const SessionID& window_id, const SessionID& tab_id, bool closed_by_user_gesture) argument 252 WindowClosing(const SessionID& window_id) argument 272 WindowClosed(const SessionID& window_id) argument 292 SetWindowType(const SessionID& window_id, Browser::Type type) argument 310 TabNavigationPathPrunedFromBack(const SessionID& window_id, const SessionID& tab_id, int count) argument 326 TabNavigationPathPrunedFromFront( const SessionID& window_id, const SessionID& tab_id, int count) argument 351 UpdateTabNavigation(const SessionID& window_id, const SessionID& tab_id, int index, const NavigationEntry& entry) argument 378 SetSelectedNavigationIndex(const SessionID& window_id, const SessionID& tab_id, int index) argument 397 SetSelectedTabInWindow(const SessionID& window_id, int index) argument 608 SetTabExtensionAppID( const SessionID& window_id, const SessionID& tab_id, const std::string& extension_app_id) argument 621 CreateSetSelectedTabInWindow( const SessionID& window_id, int index) argument 633 CreateSetTabWindowCommand( const SessionID& window_id, const SessionID& tab_id) argument 643 CreateSetWindowBoundsCommand( const SessionID& window_id, const gfx::Rect& bounds, bool is_maximized) argument 687 CreateWindowClosedCommand( const SessionID::id_type window_id) argument 712 CreateSetWindowTypeCommand( const SessionID& window_id, WindowType type) argument 783 GetWindow( SessionID::id_type window_id, IdToSessionWindow* windows) argument 1057 BuildCommandsForTab( const SessionID& window_id, NavigationController* controller, int index_in_window, bool is_pinned, std::vector<SessionCommand*>* commands, IdToRange* tab_to_available_range) argument 1271 const SessionID::id_type window_id = (*i)->session_id().id(); local 1286 HasOpenTrackableBrowsers(const SessionID& window_id) argument 1306 ShouldTrackChangesToWindow(const SessionID& window_id) argument [all...] |
H A D | session_service_test_helper.h | 33 void PrepareTabInWindow(const SessionID& window_id, 38 void SetTabExtensionAppID(const SessionID& window_id, 45 void AssertTabEquals(SessionID& window_id,
|
/external/chromium/chrome/browser/extensions/ |
H A D | 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);
|
H A D | extension_tab_id_map.cc | 60 // 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_org/chrome/browser/sync/glue/ |
H A D | session_sync_test_helper.h | 28 static void AddWindowSpecifics(int window_id, 38 int window_id,
|
H A D | synced_session_tracker.cc | 174 << window_wrapper.window_ptr->window_id.id(); 193 << " from window " << tab_ptr->window_id.id(); 230 SessionID::id_type window_id) { 233 synced_window_map_[session_tag].find(window_id); 237 DVLOG(1) << "Putting seen window " << window_id << " at " << window_ptr 243 window_ptr->window_id.set_id(window_id); 244 synced_window_map_[session_tag][window_id] = 246 DVLOG(1) << "Putting new window " << window_id << " at " << window_ptr 251 DCHECK_EQ(window_ptr->window_id 229 PutWindowInSession(const std::string& session_tag, SessionID::id_type window_id) argument 257 PutTabInWindow(const std::string& session_tag, SessionID::id_type window_id, SessionID::id_type tab_id, size_t tab_index) argument 281 DVLOG(1) << " - tab " << tab_id << " added to window "<< window_id; local [all...] |
/external/chromium_org/apps/ |
H A D | shell_window_geometry_cache_unittest.cc | 36 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 D | shell_window_geometry_cache.cc | 51 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/chrome/browser/apps/ |
H A D | app_window_browsertest.cc | 24 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
|