Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2553173003: Move WebMediaPlayer to frame loading queue. (Closed)
Patch Set: Expose task runners in WebLocalFrame Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void findMatchRects(WebVector<WebFloatRect>&) override; 285 void findMatchRects(WebVector<WebFloatRect>&) override;
286 int selectNearestFindMatch(const WebFloatPoint&, 286 int selectNearestFindMatch(const WebFloatPoint&,
287 WebRect* selectionRect) override; 287 WebRect* selectionRect) override;
288 float distanceToNearestFindMatch(const WebFloatPoint&) override; 288 float distanceToNearestFindMatch(const WebFloatPoint&) override;
289 void setTickmarks(const WebVector<WebRect>&) override; 289 void setTickmarks(const WebVector<WebRect>&) override;
290 WebFrameWidgetBase* frameWidget() const override; 290 WebFrameWidgetBase* frameWidget() const override;
291 void copyImageAt(const WebPoint&) override; 291 void copyImageAt(const WebPoint&) override;
292 void saveImageAt(const WebPoint&) override; 292 void saveImageAt(const WebPoint&) override;
293 void clearActiveFindMatch() override; 293 void clearActiveFindMatch() override;
294 void usageCountChromeLoadTimes(const WebString& metric) override; 294 void usageCountChromeLoadTimes(const WebString& metric) override;
295 base::SingleThreadTaskRunner* timerTaskRunner() override;
296 base::SingleThreadTaskRunner* loadingTaskRunner() override;
297 base::SingleThreadTaskRunner* unthrottledTaskRunner() override;
295 298
296 // WebFrameImplBase methods: 299 // WebFrameImplBase methods:
297 void initializeCoreFrame(FrameHost*, 300 void initializeCoreFrame(FrameHost*,
298 FrameOwner*, 301 FrameOwner*,
299 const AtomicString& name, 302 const AtomicString& name,
300 const AtomicString& uniqueName) override; 303 const AtomicString& uniqueName) override;
301 LocalFrame* frame() const override { return m_frame.get(); } 304 LocalFrame* frame() const override { return m_frame.get(); }
302 305
303 void willBeDetached(); 306 void willBeDetached();
304 void willDetachParent(); 307 void willDetachParent();
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 476
474 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 477 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
475 WebFrame, 478 WebFrame,
476 frame, 479 frame,
477 frame->isWebLocalFrame(), 480 frame->isWebLocalFrame(),
478 frame.isWebLocalFrame()); 481 frame.isWebLocalFrame());
479 482
480 } // namespace blink 483 } // namespace blink
481 484
482 #endif 485 #endif
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698