Home
last modified time | relevance | path

Searched refs:idle_state (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/idle/
Didle_api_unittest.cc179 std::string idle_state; in TEST_F() local
180 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()
181 EXPECT_EQ("locked", idle_state); in TEST_F()
193 std::string idle_state; in TEST_F() local
194 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()
195 EXPECT_EQ("locked", idle_state); in TEST_F()
211 std::string idle_state; in TEST_F() local
212 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()
213 EXPECT_EQ("active", idle_state); in TEST_F()
230 std::string idle_state; in TEST_F() local
[all …]
Didle_manager.cc192 StringValue* IdleManager::CreateIdleValue(IdleState idle_state) { in CreateIdleValue() argument
195 if (idle_state == IDLE_STATE_ACTIVE) { in CreateIdleValue()
197 } else if (idle_state == IDLE_STATE_IDLE) { in CreateIdleValue()
Didle_manager.h89 static base::StringValue* CreateIdleValue(IdleState idle_state);
/external/chromium_org/chrome/browser/ui/
Dactive_tab_tracker.cc134 void ActiveTabTracker::SetIdleState(IdleState idle_state) { in SetIdleState() argument
135 if (idle_state_ != idle_state) { in SetIdleState()
138 else if (idle_state == IDLE_STATE_ACTIVE) in SetIdleState()
140 idle_state_ = idle_state; in SetIdleState()
Dactive_tab_tracker.h67 void SetIdleState(IdleState idle_state);
/external/chromium/chrome/browser/extensions/
Dextension_idle_api.cc45 static StringValue* CreateIdleValue(IdleState idle_state);
76 StringValue* CreateIdleValue(IdleState idle_state) { in CreateIdleValue() argument
77 StringValue* result = new StringValue(IdleStateToDescription(idle_state)); in CreateIdleValue()