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

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

Issue 12026029: Allow TabCapture to capture full screen flash widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: braces Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | 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_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Indicates that client 3D APIs (Pepper 3D, WebGL) were just 145 // Indicates that client 3D APIs (Pepper 3D, WebGL) were just
146 // blocked on the current page, specifically because the GPU was 146 // blocked on the current page, specifically because the GPU was
147 // reset recently. 147 // reset recently.
148 virtual void DidBlock3DAPIs(const GURL& url, 148 virtual void DidBlock3DAPIs(const GURL& url,
149 ThreeDAPIType requester) {} 149 ThreeDAPIType requester) {}
150 150
151 // Invoked when new FaviconURL candidates are received from the renderer. 151 // Invoked when new FaviconURL candidates are received from the renderer.
152 virtual void DidUpdateFaviconURL(int32 page_id, 152 virtual void DidUpdateFaviconURL(int32 page_id,
153 const std::vector<FaviconURL>& candidates) {} 153 const std::vector<FaviconURL>& candidates) {}
154 154
155 // Invoked when a plugin like PepperFlash creates and shows or destroys a
jam 2013/01/23 21:22:50 nit: don't mention PepperFlash directly, but just
justinlin 2013/01/23 22:20:10 Done.
156 // a fullscreen render widget.
157 virtual void DidShowFullscreenWidget(int routing_id) {}
158 virtual void DidDestroyFullscreenWidget(int routing_id) {}
159
155 // IPC::Listener implementation. 160 // IPC::Listener implementation.
156 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 161 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
157 162
158 // IPC::Sender implementation. 163 // IPC::Sender implementation.
159 virtual bool Send(IPC::Message* message) OVERRIDE; 164 virtual bool Send(IPC::Message* message) OVERRIDE;
160 int routing_id() const; 165 int routing_id() const;
161 166
162 protected: 167 protected:
163 // Use this constructor when the object is tied to a single WebContents for 168 // Use this constructor when the object is tied to a single WebContents for
164 // its entire lifetime. 169 // its entire lifetime.
(...skipping 19 matching lines...) Expand all
184 void WebContentsImplDestroyed(); 189 void WebContentsImplDestroyed();
185 190
186 WebContentsImpl* web_contents_; 191 WebContentsImpl* web_contents_;
187 192
188 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 193 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
189 }; 194 };
190 195
191 } // namespace content 196 } // namespace content
192 197
193 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 198 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698