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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 235733002: <webview>: Move media request to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_geolocation_to_chrome
Patch Set: Fixed rebase Created 6 years, 8 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
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 // A BrowserPluginGuest is the browser side of a browser <--> embedder 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder
7 // renderer side of browser <--> embedder renderer communication. 7 // renderer side of browser <--> embedder renderer communication.
8 // 8 //
9 // BrowserPluginGuest lives on the UI thread of the browser process. Any 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any
10 // messages about the guest render process that the embedder might be interested 10 // messages about the guest render process that the embedder might be interested
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 313 }
314 314
315 void SetZoom(double zoom_factor); 315 void SetZoom(double zoom_factor);
316 316
317 private: 317 private:
318 class EmbedderWebContentsObserver; 318 class EmbedderWebContentsObserver;
319 friend class TestBrowserPluginGuest; 319 friend class TestBrowserPluginGuest;
320 320
321 class DownloadRequest; 321 class DownloadRequest;
322 class JavaScriptDialogRequest; 322 class JavaScriptDialogRequest;
323 // MediaRequest because of naming conflicts with MediaStreamRequest.
324 class MediaRequest;
325 class NewWindowRequest; 323 class NewWindowRequest;
326 class PermissionRequest; 324 class PermissionRequest;
327 class PointerLockRequest; 325 class PointerLockRequest;
328 326
329 // Tracks the name, and target URL of the new window and whether or not it has 327 // Tracks the name, and target URL of the new window and whether or not it has
330 // changed since the WebContents has been created and before the new window 328 // changed since the WebContents has been created and before the new window
331 // has been attached to a BrowserPlugin. Once the first navigation commits, we 329 // has been attached to a BrowserPlugin. Once the first navigation commits, we
332 // no longer track this information. 330 // no longer track this information.
333 struct NewWindowInfo { 331 struct NewWindowInfo {
334 bool changed; 332 bool changed;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 // Weak pointer used to ask GeolocationPermissionContext about geolocation 591 // Weak pointer used to ask GeolocationPermissionContext about geolocation
594 // permission. 592 // permission.
595 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 593 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
596 594
597 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 595 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
598 }; 596 };
599 597
600 } // namespace content 598 } // namespace content
601 599
602 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 600 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/guestview/webview/webview_permission_types.h ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698