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

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

Issue 10915304: We do not pass enums by conts references. This CL fixes style errors introduced (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // The widget is identified by the route_id passed to CreateNewWidget. 399 // The widget is identified by the route_id passed to CreateNewWidget.
400 virtual void ShowCreatedWidget(int route_id, 400 virtual void ShowCreatedWidget(int route_id,
401 const gfx::Rect& initial_pos) {} 401 const gfx::Rect& initial_pos) {}
402 402
403 // Show the newly created full screen widget. Similar to above. 403 // Show the newly created full screen widget. Similar to above.
404 virtual void ShowCreatedFullscreenWidget(int route_id) {} 404 virtual void ShowCreatedFullscreenWidget(int route_id) {}
405 405
406 // A context menu should be shown, to be built using the context information 406 // A context menu should be shown, to be built using the context information
407 // provided in the supplied params. 407 // provided in the supplied params.
408 virtual void ShowContextMenu(const ContextMenuParams& params, 408 virtual void ShowContextMenu(const ContextMenuParams& params,
409 const ContextMenuSourceType& type) {} 409 ContextMenuSourceType type) {}
410 410
411 // The render view has requested access to media devices listed in 411 // The render view has requested access to media devices listed in
412 // |request|, and the client should grant or deny that permission by 412 // |request|, and the client should grant or deny that permission by
413 // calling |callback|. 413 // calling |callback|.
414 virtual void RequestMediaAccessPermission( 414 virtual void RequestMediaAccessPermission(
415 const MediaStreamRequest* request, 415 const MediaStreamRequest* request,
416 const MediaResponseCallback& callback) {} 416 const MediaResponseCallback& callback) {}
417 417
418 #if defined(OS_ANDROID) 418 #if defined(OS_ANDROID)
419 virtual void AttachLayer(WebKit::WebLayer* layer) {} 419 virtual void AttachLayer(WebKit::WebLayer* layer) {}
420 virtual void RemoveLayer(WebKit::WebLayer* layer) {} 420 virtual void RemoveLayer(WebKit::WebLayer* layer) {}
421 #endif 421 #endif
422 422
423 protected: 423 protected:
424 virtual ~RenderViewHostDelegate() {} 424 virtual ~RenderViewHostDelegate() {}
425 }; 425 };
426 426
427 } // namespace content 427 } // namespace content
428 428
429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698