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

Side by Side Diff: content/browser/web_contents/web_contents_view_mac.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_MAC_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual bool IsDoingDrag() const OVERRIDE; 79 virtual bool IsDoingDrag() const OVERRIDE;
80 virtual void CancelDragAndCloseTab() OVERRIDE; 80 virtual void CancelDragAndCloseTab() OVERRIDE;
81 virtual WebDropData* GetDropData() const OVERRIDE; 81 virtual WebDropData* GetDropData() const OVERRIDE;
82 virtual bool IsEventTracking() const OVERRIDE; 82 virtual bool IsEventTracking() const OVERRIDE;
83 virtual void CloseTabAfterEventTracking() OVERRIDE; 83 virtual void CloseTabAfterEventTracking() OVERRIDE;
84 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 84 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
85 85
86 // Backend implementation of RenderViewHostDelegateView. 86 // Backend implementation of RenderViewHostDelegateView.
87 virtual void ShowContextMenu( 87 virtual void ShowContextMenu(
88 const content::ContextMenuParams& params) OVERRIDE; 88 const content::ContextMenuParams& params) OVERRIDE;
89 virtual void ShowPopupMenu(const gfx::Rect& bounds,
90 int item_height,
91 double item_font_size,
92 int selected_item,
93 const std::vector<WebMenuItem>& items,
94 bool right_aligned,
95 bool allow_multiple_selection) OVERRIDE;
89 virtual void StartDragging(const WebDropData& drop_data, 96 virtual void StartDragging(const WebDropData& drop_data,
90 WebKit::WebDragOperationsMask allowed_operations, 97 WebKit::WebDragOperationsMask allowed_operations,
91 const SkBitmap& image, 98 const SkBitmap& image,
92 const gfx::Point& image_offset) OVERRIDE; 99 const gfx::Point& image_offset) OVERRIDE;
93 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 100 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
94 virtual void GotFocus() OVERRIDE; 101 virtual void GotFocus() OVERRIDE;
95 virtual void TakeFocus(bool reverse) OVERRIDE; 102 virtual void TakeFocus(bool reverse) OVERRIDE;
96 103
97 // A helper method for closing the tab in the 104 // A helper method for closing the tab in the
98 // CloseTabAfterEventTracking() implementation. 105 // CloseTabAfterEventTracking() implementation.
(...skipping 13 matching lines...) Expand all
112 // focus returns. 119 // focus returns.
113 scoped_nsobject<FocusTracker> focus_tracker_; 120 scoped_nsobject<FocusTracker> focus_tracker_;
114 121
115 // Our optional delegate. 122 // Our optional delegate.
116 scoped_ptr<content::WebContentsViewDelegate> delegate_; 123 scoped_ptr<content::WebContentsViewDelegate> delegate_;
117 124
118 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); 125 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac);
119 }; 126 };
120 127
121 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 128 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698