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

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

Issue 10822004: Draggable region support for frameless app window on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 namespace content { 50 namespace content {
51 51
52 class BrowserContext; 52 class BrowserContext;
53 class RenderViewHost; 53 class RenderViewHost;
54 class RenderViewHostDelegateView; 54 class RenderViewHostDelegateView;
55 class SessionStorageNamespace; 55 class SessionStorageNamespace;
56 class WebContents; 56 class WebContents;
57 struct ContextMenuParams; 57 struct ContextMenuParams;
58 struct FileChooserParams; 58 struct FileChooserParams;
59 struct DraggableRegion;
59 struct GlobalRequestID; 60 struct GlobalRequestID;
60 struct NativeWebKeyboardEvent; 61 struct NativeWebKeyboardEvent;
61 struct Referrer; 62 struct Referrer;
62 struct RendererPreferences; 63 struct RendererPreferences;
63 64
64 typedef base::Callback< void(const MediaStreamDevices&) > MediaResponseCallback; 65 typedef base::Callback< void(const MediaStreamDevices&) > MediaResponseCallback;
65 66
66 // 67 //
67 // RenderViewHostDelegate 68 // RenderViewHostDelegate
68 // 69 //
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // provided in the supplied params. 399 // provided in the supplied params.
399 virtual void ShowContextMenu(const ContextMenuParams& params) {} 400 virtual void ShowContextMenu(const ContextMenuParams& params) {}
400 401
401 // The render view has requested access to media devices listed in 402 // The render view has requested access to media devices listed in
402 // |request|, and the client should grant or deny that permission by 403 // |request|, and the client should grant or deny that permission by
403 // calling |callback|. 404 // calling |callback|.
404 virtual void RequestMediaAccessPermission( 405 virtual void RequestMediaAccessPermission(
405 const MediaStreamRequest* request, 406 const MediaStreamRequest* request,
406 const MediaResponseCallback& callback) {} 407 const MediaResponseCallback& callback) {}
407 408
409 // The draggable regions should be updated if they're supported.
410 virtual void UpdateDraggableRegions(
411 const std::vector<content::DraggableRegion>& regions) {}
412
408 protected: 413 protected:
409 virtual ~RenderViewHostDelegate() {} 414 virtual ~RenderViewHostDelegate() {}
410 }; 415 };
411 416
412 } // namespace content 417 } // namespace content
413 418
414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 419 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698