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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 10436010: Multi-select <select> in 'external popup window' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual bool IsDoingDrag() const OVERRIDE; 60 virtual bool IsDoingDrag() const OVERRIDE;
61 virtual void CancelDragAndCloseTab() OVERRIDE; 61 virtual void CancelDragAndCloseTab() OVERRIDE;
62 virtual WebDropData* GetDropData() const OVERRIDE; 62 virtual WebDropData* GetDropData() const OVERRIDE;
63 virtual bool IsEventTracking() const OVERRIDE; 63 virtual bool IsEventTracking() const OVERRIDE;
64 virtual void CloseTabAfterEventTracking() OVERRIDE; 64 virtual void CloseTabAfterEventTracking() OVERRIDE;
65 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 65 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
66 66
67 // Overridden from RenderViewHostDelegateView: 67 // Overridden from RenderViewHostDelegateView:
68 virtual void ShowContextMenu( 68 virtual void ShowContextMenu(
69 const content::ContextMenuParams& params) OVERRIDE; 69 const content::ContextMenuParams& params) OVERRIDE;
70 virtual void ShowPopupMenu(const gfx::Rect& bounds,
71 int item_height,
72 double item_font_size,
73 int selected_item,
74 const std::vector<WebMenuItem>& items,
75 bool right_aligned,
76 bool allow_multiple_selection) OVERRIDE;
70 virtual void StartDragging(const WebDropData& drop_data, 77 virtual void StartDragging(const WebDropData& drop_data,
71 WebKit::WebDragOperationsMask operations, 78 WebKit::WebDragOperationsMask operations,
72 const SkBitmap& image, 79 const SkBitmap& image,
73 const gfx::Point& image_offset) OVERRIDE; 80 const gfx::Point& image_offset) OVERRIDE;
74 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 81 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
75 virtual void GotFocus() OVERRIDE; 82 virtual void GotFocus() OVERRIDE;
76 virtual void TakeFocus(bool reverse) OVERRIDE; 83 virtual void TakeFocus(bool reverse) OVERRIDE;
77 84
78 // Overridden from aura::WindowDelegate: 85 // Overridden from aura::WindowDelegate:
79 virtual gfx::Size GetMinimumSize() const OVERRIDE; 86 virtual gfx::Size GetMinimumSize() const OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // We keep track of the render view host we're dragging over. If it changes 130 // We keep track of the render view host we're dragging over. If it changes
124 // during a drag, we need to re-send the DragEnter message. WARNING: 131 // during a drag, we need to re-send the DragEnter message. WARNING:
125 // this pointer should never be dereferenced. We only use it for comparing 132 // this pointer should never be dereferenced. We only use it for comparing
126 // pointers. 133 // pointers.
127 void* current_rvh_for_drag_; 134 void* current_rvh_for_drag_;
128 135
129 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 136 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
130 }; 137 };
131 138
132 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 139 #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