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

Side by Side Diff: content/public/browser/web_contents_view_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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
7 7
8 #if defined(TOOLKIT_GTK) 8 #if defined(TOOLKIT_GTK)
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #elif defined(OS_MACOSX) 10 #elif defined(OS_MACOSX)
(...skipping 27 matching lines...) Expand all
38 class CONTENT_EXPORT WebContentsViewDelegate { 38 class CONTENT_EXPORT WebContentsViewDelegate {
39 public: 39 public:
40 virtual ~WebContentsViewDelegate() {} 40 virtual ~WebContentsViewDelegate() {}
41 41
42 // Returns a delegate to process drags not handled by content. 42 // Returns a delegate to process drags not handled by content.
43 virtual WebDragDestDelegate* GetDragDestDelegate() = 0; 43 virtual WebDragDestDelegate* GetDragDestDelegate() = 0;
44 44
45 // Shows a context menu. 45 // Shows a context menu.
46 virtual void ShowContextMenu( 46 virtual void ShowContextMenu(
47 const content::ContextMenuParams& params, 47 const content::ContextMenuParams& params,
48 const content::ContextMenuSourceType& type) = 0; 48 content::ContextMenuSourceType type) = 0;
49 49
50 #if defined(OS_WIN) || defined(USE_AURA) 50 #if defined(OS_WIN) || defined(USE_AURA)
51 // These methods allow the embedder to intercept WebContentsViewWin's 51 // These methods allow the embedder to intercept WebContentsViewWin's
52 // implementation of these WebContentsView methods. See the WebContentsView 52 // implementation of these WebContentsView methods. See the WebContentsView
53 // interface documentation for more information about these methods. 53 // interface documentation for more information about these methods.
54 virtual void StoreFocus() = 0; 54 virtual void StoreFocus() = 0;
55 virtual void RestoreFocus() = 0; 55 virtual void RestoreFocus() = 0;
56 virtual bool Focus() = 0; 56 virtual bool Focus() = 0;
57 virtual void TakeFocus(bool reverse) = 0; 57 virtual void TakeFocus(bool reverse) = 0;
58 virtual void SizeChanged(const gfx::Size& size) = 0; 58 virtual void SizeChanged(const gfx::Size& size) = 0;
(...skipping 21 matching lines...) Expand all
80 // events on the responder chain. 80 // events on the responder chain.
81 virtual NSObject<RenderWidgetHostViewMacDelegate>* 81 virtual NSObject<RenderWidgetHostViewMacDelegate>*
82 CreateRenderWidgetHostViewDelegate( 82 CreateRenderWidgetHostViewDelegate(
83 RenderWidgetHost* render_widget_host) = 0; 83 RenderWidgetHost* render_widget_host) = 0;
84 #endif 84 #endif
85 }; 85 };
86 86
87 } // namespace content 87 } // namespace content
88 88
89 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ 89 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/port/browser/render_view_host_delegate_view.h ('k') | content/shell/shell_web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698