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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, rebase Created 8 years, 4 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
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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 29 matching lines...) Expand all
40 namespace IPC { 40 namespace IPC {
41 class Message; 41 class Message;
42 } 42 }
43 43
44 namespace gfx { 44 namespace gfx {
45 class Point; 45 class Point;
46 class Rect; 46 class Rect;
47 class Size; 47 class Size;
48 } 48 }
49 49
50 namespace WebKit {
51 class WebLayer;
52 }
53
50 namespace content { 54 namespace content {
51 55
52 class BrowserContext; 56 class BrowserContext;
53 class RenderViewHost; 57 class RenderViewHost;
54 class RenderViewHostDelegateView; 58 class RenderViewHostDelegateView;
55 class SessionStorageNamespace; 59 class SessionStorageNamespace;
56 class WebContents; 60 class WebContents;
57 struct ContextMenuParams; 61 struct ContextMenuParams;
58 struct FileChooserParams; 62 struct FileChooserParams;
59 struct GlobalRequestID; 63 struct GlobalRequestID;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // provided in the supplied params. 402 // provided in the supplied params.
399 virtual void ShowContextMenu(const ContextMenuParams& params) {} 403 virtual void ShowContextMenu(const ContextMenuParams& params) {}
400 404
401 // The render view has requested access to media devices listed in 405 // The render view has requested access to media devices listed in
402 // |request|, and the client should grant or deny that permission by 406 // |request|, and the client should grant or deny that permission by
403 // calling |callback|. 407 // calling |callback|.
404 virtual void RequestMediaAccessPermission( 408 virtual void RequestMediaAccessPermission(
405 const MediaStreamRequest* request, 409 const MediaStreamRequest* request,
406 const MediaResponseCallback& callback) {} 410 const MediaResponseCallback& callback) {}
407 411
412 virtual void AttachLayer(WebKit::WebLayer& layer) {}
klobag.chromium 2012/08/23 02:08:12 at least we can do const WebLayer for this one.
no sievers 2012/08/27 18:07:02 Actually, I just noticed that addChild() only take
413 virtual void RemoveLayer(WebKit::WebLayer& layer) {}
414
408 protected: 415 protected:
409 virtual ~RenderViewHostDelegate() {} 416 virtual ~RenderViewHostDelegate() {}
410 }; 417 };
411 418
412 } // namespace content 419 } // namespace content
413 420
414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 421 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698