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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual bool IsDoingDrag() const OVERRIDE; 66 virtual bool IsDoingDrag() const OVERRIDE;
67 virtual void CancelDragAndCloseTab() OVERRIDE; 67 virtual void CancelDragAndCloseTab() OVERRIDE;
68 virtual WebDropData* GetDropData() const OVERRIDE; 68 virtual WebDropData* GetDropData() const OVERRIDE;
69 virtual bool IsEventTracking() const OVERRIDE; 69 virtual bool IsEventTracking() const OVERRIDE;
70 virtual void CloseTabAfterEventTracking() OVERRIDE; 70 virtual void CloseTabAfterEventTracking() OVERRIDE;
71 virtual gfx::Rect GetViewBounds() const OVERRIDE; 71 virtual gfx::Rect GetViewBounds() const OVERRIDE;
72 72
73 // Overridden from RenderViewHostDelegateView: 73 // Overridden from RenderViewHostDelegateView:
74 virtual void ShowContextMenu( 74 virtual void ShowContextMenu(
75 const content::ContextMenuParams& params, 75 const content::ContextMenuParams& params,
76 const content::ContextMenuSourceType& type) OVERRIDE; 76 content::ContextMenuSourceType type) OVERRIDE;
77 virtual void ShowPopupMenu(const gfx::Rect& bounds, 77 virtual void ShowPopupMenu(const gfx::Rect& bounds,
78 int item_height, 78 int item_height,
79 double item_font_size, 79 double item_font_size,
80 int selected_item, 80 int selected_item,
81 const std::vector<WebMenuItem>& items, 81 const std::vector<WebMenuItem>& items,
82 bool right_aligned, 82 bool right_aligned,
83 bool allow_multiple_selection) OVERRIDE; 83 bool allow_multiple_selection) OVERRIDE;
84 virtual void StartDragging(const WebDropData& drop_data, 84 virtual void StartDragging(const WebDropData& drop_data,
85 WebKit::WebDragOperationsMask operations, 85 WebKit::WebDragOperationsMask operations,
86 const gfx::ImageSkia& image, 86 const gfx::ImageSkia& image,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // We keep track of the render view host we're dragging over. If it changes 145 // We keep track of the render view host we're dragging over. If it changes
146 // during a drag, we need to re-send the DragEnter message. WARNING: 146 // during a drag, we need to re-send the DragEnter message. WARNING:
147 // this pointer should never be dereferenced. We only use it for comparing 147 // this pointer should never be dereferenced. We only use it for comparing
148 // pointers. 148 // pointers.
149 void* current_rvh_for_drag_; 149 void* current_rvh_for_drag_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
152 }; 152 };
153 153
154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698