Lines Matching full:state
37 struct State {
38 State()
52 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo));
53 TEST_ASSERT(state->didDecidePolicyForNavigationAction);
54 TEST_ASSERT(!state->didCommitLoadForFrame);
59 TEST_ASSERT(!state->didStartProvisionalLoadForFrame);
62 state->didStartProvisionalLoadForFrame = true;
67 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo));
68 TEST_ASSERT(state->didDecidePolicyForNavigationAction);
69 TEST_ASSERT(state->didStartProvisionalLoadForFrame);
74 state->didCommitLoadForFrame = true;
79 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo));
80 TEST_ASSERT(state->didDecidePolicyForNavigationAction);
81 TEST_ASSERT(state->didStartProvisionalLoadForFrame);
82 TEST_ASSERT(state->didCommitLoadForFrame);
92 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo));
93 TEST_ASSERT(!state->didStartProvisionalLoadForFrame);
94 TEST_ASSERT(!state->didCommitLoadForFrame);
96 state->didDecidePolicyForNavigationAction = true;
113 State state;
122 loaderClient.clientInfo = &state;
132 policyClient.clientInfo = &state;