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

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/media/cast/net/rtp_sender/packet_storage/
packet_storage_unittest.cc 36 for (uint32 frame_id = 0; frame_id < 30; ++frame_id) {
38 packet_storage_.StorePacket(frame_id, packet_id, &test_123);
44 for (uint32 frame_id = 0; frame_id < 14; ++frame_id) {
47 EXPECT_FALSE(packet_storage_.GetPacket(frame_id, packet_id, &packets));
51 for (uint32 frame_id = 14; frame_id < 30; ++frame_id)
63 uint32 frame_id = 0; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/web_navigation/
frame_navigation_state.h 47 bool CanSendEvents(FrameID frame_id) const;
52 // Starts to track a frame identified by its |frame_id| showing the URL |url|.
53 void TrackFrame(FrameID frame_id,
61 void FrameDetached(FrameID frame_id);
69 void UpdateFrame(FrameID frame_id, const GURL& url);
71 // Returns true if |frame_id| is a known frame.
72 bool IsValidFrame(FrameID frame_id) const;
74 // Returns the URL corresponding to a tracked frame given by its |frame_id|.
75 GURL GetUrl(FrameID frame_id) const;
77 // True if the frame given by its |frame_id| is a main frame of its tab
    [all...]
frame_navigation_state.cc 68 bool FrameNavigationState::CanSendEvents(FrameID frame_id) const {
70 frame_state_map_.find(frame_id);
93 void FrameNavigationState::TrackFrame(FrameID frame_id,
99 FrameState& frame_state = frame_state_map_[frame_id];
115 frame_ids_.insert(frame_id);
118 void FrameNavigationState::FrameDetached(FrameID frame_id) {
120 frame_state_map_.find(frame_id);
123 if (frame_id == main_frame_id_)
125 frame_state_map_.erase(frame_id);
126 frame_ids_.erase(frame_id);
150 FrameID frame_id = *frame; local
    [all...]
web_navigation_api_helpers.h 27 int GetFrameId(bool is_main_frame, int64 frame_id);
32 int64 frame_id,
40 int64 frame_id,
48 int64 frame_id);
53 int64 frame_id);
66 int64 frame_id,
web_navigation_api.cc 180 FrameNavigationState::FrameID frame_id(
183 if (!frame_navigation_state.CanSendEvents(frame_id))
193 frame_navigation_state.IsMainFrame(frame_id),
201 frame_navigation_state.IsMainFrame(frame_id),
222 FrameNavigationState::FrameID frame_id(
225 if (frame_navigation_state.CanSendEvents(frame_id)) {
314 FrameNavigationState::FrameID frame_id(
315 resource_redirect_details->frame_id, render_view_host);
316 navigation_state_.SetIsServerRedirected(frame_id);
383 FrameNavigationState::FrameID frame_id(frame_num, render_view_host)
433 SendErrorEvents(web_contents(), render_view_host_, frame_id); local
719 int frame_id = params->details.frame_id; local
801 FrameNavigationState::FrameID frame_id = *it; local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_webnavigation_api.h 34 bool CanSendEvents(int64 frame_id) const;
36 // Starts to track a frame given by its |frame_id| showing the URL |url| in
38 void TrackFrame(int64 frame_id,
44 // Returns the URL corresponding to a tracked frame given by its |frame_id|.
45 GURL GetUrl(int64 frame_id) const;
47 // True if the frame given by its |frame_id| is the main frame of its tab.
48 bool IsMainFrame(int64 frame_id) const;
51 void ErrorOccurredInFrame(int64 frame_id);
90 virtual void DidStartProvisionalLoadForFrame(int64 frame_id,
95 int64 frame_id,
    [all...]
extension_webnavigation_api.cc 37 int GetFrameId(bool is_main_frame, int64 frame_id) {
38 return is_main_frame ? 0 : static_cast<int>(frame_id);
58 int64 frame_id,
67 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id));
80 int64 frame_id,
89 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id));
112 int64 frame_id) {
119 is_main_frame ? 0 : static_cast<int>(frame_id));
132 int64 frame_id) {
139 is_main_frame ? 0 : static_cast<int>(frame_id));
333 tab_contents(), frame_id, is_main_frame, url, transition_type); local
436 frame_id, local
441 frame_id, local
448 frame_id); local
452 frame_id); local
    [all...]
extension_webnavigation_unittest.cc 55 const int64 frame_id = 42; local
58 navigation_state.TrackFrame(frame_id, url, true, false, contents());
59 EXPECT_TRUE(navigation_state.CanSendEvents(frame_id));
62 navigation_state.ErrorOccurredInFrame(frame_id);
63 EXPECT_FALSE(navigation_state.CanSendEvents(frame_id));
66 navigation_state.TrackFrame(frame_id, GURL(), true, true, contents());
67 EXPECT_FALSE(navigation_state.CanSendEvents(frame_id));
70 navigation_state.TrackFrame(frame_id, url, true, false, contents());
71 EXPECT_TRUE(navigation_state.CanSendEvents(frame_id));
106 const int64 frame_id = 23 local
    [all...]
  /external/chromium_org/media/cast/logging/
logging_internal.cc 16 void FrameLogData::Insert(uint32 rtp_timestamp, uint32 frame_id) {
18 InsertBase(rtp_timestamp, frame_id, info);
22 uint32 rtp_timestamp, uint32 frame_id, int size) {
25 InsertBase(rtp_timestamp, frame_id, info);
29 uint32 rtp_timestamp, uint32 frame_id, base::TimeDelta delay) {
32 InsertBase(rtp_timestamp, frame_id, info);
36 uint32 rtp_timestamp, uint32 frame_id, FrameEvent info) {
38 info.frame_id = frame_id;
49 uint32 frame_id, uint16 packet_id, uint16 max_packet_id, int size)
    [all...]
logging_raw.cc 25 uint32 frame_id) {
26 InsertBaseFrameEvent(event, frame_id, rtp_timestamp);
31 uint32 frame_id,
33 InsertBaseFrameEvent(event, frame_id, rtp_timestamp);
42 uint32 frame_id,
44 InsertBaseFrameEvent(event, frame_id, rtp_timestamp);
52 uint32 frame_id,
59 info.frame_id = frame_id;
67 // Do we have a valid frame_id
    [all...]
logging_internal.h 21 uint32 frame_id; member in struct:media::cast::FrameEvent
28 uint32 frame_id; member in struct:media::cast::PacketEvent
43 void Insert(uint32 rtp_timestamp, uint32 frame_id);
45 void InsertWithSize(uint32 rtp_timestamp, uint32 frame_id, int size);
48 uint32 rtp_timestamp, uint32 frame_id, base::TimeDelta delay);
52 void InsertBase(uint32 rtp_timestamp, uint32 frame_id, FrameEvent info);
65 void Insert(uint32 rtp_timestamp, uint32 frame_id, uint16 packet_id,
logging_raw.h 34 uint32 frame_id);
39 uint32 frame_id,
45 uint32 frame_id,
51 uint32 frame_id,
69 uint32 frame_id,
logging_stats.h 26 uint32 frame_id);
30 uint32 frame_id,
35 uint32 frame_id,
40 uint32 frame_id,
57 uint32 frame_id,
logging_unittest.cc 43 uint32 frame_id = 0; local
45 logging_.InsertFrameEvent(kAudioFrameCaptured, rtp_timestamp, frame_id);
49 ++frame_id;
55 EXPECT_EQ(frame_id, frame_map.size());
76 uint32 frame_id = 0; local
81 kAudioFrameCaptured, rtp_timestamp, frame_id, size);
85 ++frame_id;
91 EXPECT_EQ(frame_id, frame_map.size());
113 uint32 frame_id = 0; local
118 kAudioFrameCaptured, rtp_timestamp, frame_id,
148 uint32 frame_id = 0; local
181 uint32 frame_id = 0; local
    [all...]
  /external/chromium_org/media/cast/framer/
framer.cc 35 FrameList::iterator it = frames_.find(rtp_header.frame_id);
40 frames_.insert(std::make_pair(rtp_header.frame_id, frame_buffer));
48 VLOG(1) << "Complete frame " << static_cast<int>(rtp_header.frame_id);
49 cast_msg_builder_->CompleteFrameReceived(rtp_header.frame_id,
59 uint32 frame_id; local
61 if (frame_id_map_.NextContinuousFrame(&frame_id)) {
65 if (!frame_id_map_.NextAudioFrameAllowingMissingFrames(&frame_id)) {
71 ConstFrameIterator it = frames_.find(frame_id);
82 uint32 frame_id; local
84 if (frame_id_map_.NextContinuousFrame(&frame_id)) {
    [all...]
frame_id_map.h 22 FrameInfo(uint32 frame_id,
35 uint32 frame_id() const { return frame_id_; } function in class:media::cast::FrameInfo
60 bool FrameExists(uint32 frame_id) const;
63 void RemoveOldFrames(uint32 frame_id);
67 bool NextContinuousFrame(uint32* frame_id) const;
70 bool NextAudioFrameAllowingMissingFrames(uint32* frame_id) const;
71 bool NextVideoFrameAllowingSkippingFrames(uint32* frame_id) const;
74 void GetMissingPackets(uint32 frame_id,
framer_unittest.cc 25 rtp_header_.frame_id = 0;
61 rtp_header_.frame_id = 1;
67 EXPECT_EQ(1u, frame.frame_id);
69 framer_.ReleaseFrame(frame.frame_id);
83 EXPECT_EQ(0u, frame.frame_id);
85 framer_.ReleaseFrame(frame.frame_id);
88 ++rtp_header_.frame_id;
96 ++rtp_header_.frame_id;
114 EXPECT_EQ(0u, frame.frame_id);
116 framer_.ReleaseFrame(frame.frame_id);
    [all...]
frame_id_map.cc 13 FrameInfo::FrameInfo(uint32 frame_id,
18 frame_id_(frame_id),
66 uint32 frame_id = rtp_header.frame_id; local
71 reference_frame_id = static_cast<uint32>(frame_id - 1);
75 last_released_frame_ = static_cast<uint32>(frame_id - 1);
79 VLOG(1) << "InsertPacket frame:" << frame_id
83 if (IsOlderFrameId(frame_id, last_released_frame_) && !waiting_for_key_) {
88 if (IsNewerFrameId(frame_id, newest_frame_id_)) {
89 newest_frame_id_ = frame_id;
    [all...]
  /external/chromium_org/chrome/test/chromedriver/chrome/
dom_tracker_unittest.cc 53 std::string frame_id; local
54 ASSERT_TRUE(tracker.GetFrameIdForNode(101, &frame_id).IsError());
55 ASSERT_TRUE(frame_id.empty());
65 ASSERT_TRUE(tracker.GetFrameIdForNode(101, &frame_id).IsError());
66 ASSERT_TRUE(frame_id.empty());
67 ASSERT_TRUE(tracker.GetFrameIdForNode(102, &frame_id).IsOk());
68 ASSERT_STREQ("f", frame_id.c_str());
72 ASSERT_TRUE(tracker.GetFrameIdForNode(102, &frame_id).IsError());
79 std::string frame_id; local
85 ASSERT_TRUE(tracker.GetFrameIdForNode(1, &frame_id).IsError())
    [all...]
frame_tracker.cc 21 const std::string& frame_id, int* context_id) {
22 if (frame_to_context_map_.count(frame_id) == 0) {
26 *context_id = frame_to_context_map_[frame_id];
51 std::string frame_id; local
53 !context->GetString("frameId", &frame_id)) {
60 frame_to_context_map_[frame_id] = context_id;
navigation_tracker.cc 27 Status NavigationTracker::IsPendingNavigation(const std::string& frame_id,
64 if (frame_id.empty())
67 *is_pending |= scheduled_frame_set_.count(frame_id) > 0;
95 std::string frame_id;
96 if (!params.GetString("frameId", &frame_id))
102 scheduled_frame_set_.insert(frame_id);
104 std::string frame_id; local
105 if (!params.GetString("frameId", &frame_id))
108 scheduled_frame_set_.erase(frame_id);
  /external/chromium_org/content/browser/frame_host/
navigator_delegate.h 22 int64 frame_id,
frame_tree.cc 32 // TODO(creis): Remove this version along with FrameTreeNode::frame_id().
33 bool FrameTreeNodeForFrameId(int64 frame_id,
36 if (node->frame_id() == frame_id) {
90 return root_->frame_id() == FrameTreeNode::kInvalidFrameId;
99 int64 frame_id,
108 frame_id, frame_name, render_frame_host_id, parent));
116 int64 frame_id) {
125 FrameTreeNode* child = FindByFrameID(frame_id);
128 render_frame_host->render_view_host(), frame_id);
    [all...]
frame_tree.h 71 // frame_id.
79 int64 frame_id,
83 int64 frame_id);
84 void SetFrameUrl(int64 frame_id, const GURL& url);
112 // Returns the FrameTreeNode with the given renderer-specific |frame_id|.
115 FrameTreeNode* FindByFrameID(int64 frame_id);
117 scoped_ptr<FrameTreeNode> CreateNode(int64 frame_id,
  /external/chromium_org/media/cast/rtp_receiver/
rtp_receiver_defines.h 21 frame_id = 0;
29 uint32 frame_id; member in struct:media::cast::RtpCastHeader

Completed in 1157 milliseconds

1 2 3 4 5 6 7 8 91011