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

Side by Side Diff: content/public/browser/web_contents_delegate.h

Issue 2629243002: content: Remove blimp compositing dependencies. (Closed)
Patch Set: .. Created 3 years, 11 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
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 // WebSecurityStyleUnknown if not overriden. 539 // WebSecurityStyleUnknown if not overriden.
540 virtual blink::WebSecurityStyle GetSecurityStyle( 540 virtual blink::WebSecurityStyle GetSecurityStyle(
541 WebContents* web_contents, 541 WebContents* web_contents,
542 SecurityStyleExplanations* security_style_explanations); 542 SecurityStyleExplanations* security_style_explanations);
543 543
544 // Displays platform-specific (OS) dialog with the certificate details. 544 // Displays platform-specific (OS) dialog with the certificate details.
545 virtual void ShowCertificateViewerInDevTools( 545 virtual void ShowCertificateViewerInDevTools(
546 WebContents* web_contents, 546 WebContents* web_contents,
547 scoped_refptr<net::X509Certificate> certificate); 547 scoped_refptr<net::X509Certificate> certificate);
548 548
549 // Called when the active render widget is forwarding a RemoteChannel
550 // compositor proto. This is used in Blimp mode.
551 virtual void ForwardCompositorProto(
552 RenderWidgetHost* render_widget_host,
553 const std::vector<uint8_t>& proto) {}
554
555 // Requests the app banner. This method is called from the DevTools. 549 // Requests the app banner. This method is called from the DevTools.
556 virtual void RequestAppBannerFromDevTools(content::WebContents* web_contents); 550 virtual void RequestAppBannerFromDevTools(content::WebContents* web_contents);
557 551
558 protected: 552 protected:
559 virtual ~WebContentsDelegate(); 553 virtual ~WebContentsDelegate();
560 554
561 private: 555 private:
562 friend class WebContentsImpl; 556 friend class WebContentsImpl;
563 557
564 // Called when |this| becomes the WebContentsDelegate for |source|. 558 // Called when |this| becomes the WebContentsDelegate for |source|.
565 void Attach(WebContents* source); 559 void Attach(WebContents* source);
566 560
567 // Called when |this| is no longer the WebContentsDelegate for |source|. 561 // Called when |this| is no longer the WebContentsDelegate for |source|.
568 void Detach(WebContents* source); 562 void Detach(WebContents* source);
569 563
570 // The WebContents that this is currently a delegate for. 564 // The WebContents that this is currently a delegate for.
571 std::set<WebContents*> attached_contents_; 565 std::set<WebContents*> attached_contents_;
572 }; 566 };
573 567
574 } // namespace content 568 } // namespace content
575 569
576 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 570 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698