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

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: Nit fix Created 8 years 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const WebDropData& drop_data, 81 const WebDropData& drop_data,
82 WebKit::WebDragOperationsMask drag_mask, 82 WebKit::WebDragOperationsMask drag_mask,
83 const gfx::Point& location); 83 const gfx::Point& location);
84 void OnSetAutoSize( 84 void OnSetAutoSize(
85 int instance_id, 85 int instance_id,
86 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, 86 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
87 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); 87 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
88 void OnPluginAtPositionResponse(int instance_id, 88 void OnPluginAtPositionResponse(int instance_id,
89 int request_id, 89 int request_id,
90 const gfx::Point& position); 90 const gfx::Point& position);
91 void OnAllowMediaAccess(int instance_id, int request_id, bool allow);
91 92
92 BrowserPluginEmbedder* embedder_; 93 BrowserPluginEmbedder* embedder_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); 95 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper);
95 }; 96 };
96 97
97 } // namespace content 98 } // namespace content
98 99
99 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 100 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698