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

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

Issue 11093080: <webview>: First stab at implementing media permission request for guests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and reup patch for review. Created 8 years, 1 month 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_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "content/public/browser/render_view_host_observer.h" 11 #include "content/public/browser/render_view_host_observer.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
14 14
15 namespace IPC { 15 namespace IPC {
16 class Message; 16 class Message;
17 class SyncMessage; 17 class SyncMessage;
18 } 18 }
19 19
20 namespace gfx { 20 namespace gfx {
21 class Point; 21 class Point;
22 class Size; 22 class Size;
23 } 23 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const WebDropData& drop_data, 78 const WebDropData& drop_data,
79 WebKit::WebDragOperationsMask drag_mask, 79 WebKit::WebDragOperationsMask drag_mask,
80 const gfx::Point& location); 80 const gfx::Point& location);
81 void OnSetAutoSize( 81 void OnSetAutoSize(
82 int instance_id, 82 int instance_id,
83 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, 83 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
84 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); 84 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
85 void OnPluginAtPositionResponse(int instance_id, 85 void OnPluginAtPositionResponse(int instance_id,
86 int request_id, 86 int request_id,
87 const gfx::Point& position); 87 const gfx::Point& position);
88 void OnAllowMediaAccess(int instance_id, int request_id, bool allow);
88 89
89 BrowserPluginEmbedder* embedder_; 90 BrowserPluginEmbedder* embedder_;
90 91
91 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); 92 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper);
92 }; 93 };
93 94
94 } // namespace content 95 } // namespace content
95 96
96 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 97 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698