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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 19045002: Use Blink support to watch CSS selectors directly instead of using a MutationObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial Created 7 years, 2 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 536
537 virtual WebKit::WebMediaPlayer* createMediaPlayer( 537 virtual WebKit::WebMediaPlayer* createMediaPlayer(
538 WebKit::WebFrame* frame, 538 WebKit::WebFrame* frame,
539 const WebKit::WebURL& url, 539 const WebKit::WebURL& url,
540 WebKit::WebMediaPlayerClient* client); 540 WebKit::WebMediaPlayerClient* client);
541 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); 541 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame);
542 virtual void didAccessInitialDocument(WebKit::WebFrame* frame); 542 virtual void didAccessInitialDocument(WebKit::WebFrame* frame);
543 virtual void didDisownOpener(WebKit::WebFrame* frame); 543 virtual void didDisownOpener(WebKit::WebFrame* frame);
544 virtual void frameDetached(WebKit::WebFrame* frame); 544 virtual void frameDetached(WebKit::WebFrame* frame);
545 virtual void willClose(WebKit::WebFrame* frame); 545 virtual void willClose(WebKit::WebFrame* frame);
546 virtual void didMatchCSS(
547 WebKit::WebFrame* frame,
548 const WebKit::WebVector<WebKit::WebString>& newlyMatchingSelectors,
549 const WebKit::WebVector<WebKit::WebString>& stoppedMatchingSelectors);
546 550
547 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass. 551 // The WebDataSource::ExtraData* is assumed to be a DocumentState* subclass.
548 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( 552 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
549 WebKit::WebFrame* frame, 553 WebKit::WebFrame* frame,
550 WebKit::WebDataSource::ExtraData* extraData, 554 WebKit::WebDataSource::ExtraData* extraData,
551 const WebKit::WebURLRequest& request, 555 const WebKit::WebURLRequest& request,
552 WebKit::WebNavigationType type, 556 WebKit::WebNavigationType type,
553 WebKit::WebNavigationPolicy default_policy, 557 WebKit::WebNavigationPolicy default_policy,
554 bool is_redirect); 558 bool is_redirect);
555 // DEPRECATED. 559 // DEPRECATED.
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 // use the Observer interface to filter IPC messages and receive frame change 1534 // use the Observer interface to filter IPC messages and receive frame change
1531 // notifications. 1535 // notifications.
1532 // --------------------------------------------------------------------------- 1536 // ---------------------------------------------------------------------------
1533 1537
1534 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1538 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1535 }; 1539 };
1536 1540
1537 } // namespace content 1541 } // namespace content
1538 1542
1539 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1543 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698