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

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

Issue 10917102: Context menus should appear above the touch point if invoked by long press. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 WebKit::WebPopupType popup_type) OVERRIDE; 398 WebKit::WebPopupType popup_type) OVERRIDE;
399 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; 399 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
400 virtual void ShowCreatedWindow(int route_id, 400 virtual void ShowCreatedWindow(int route_id,
401 WindowOpenDisposition disposition, 401 WindowOpenDisposition disposition,
402 const gfx::Rect& initial_pos, 402 const gfx::Rect& initial_pos,
403 bool user_gesture) OVERRIDE; 403 bool user_gesture) OVERRIDE;
404 virtual void ShowCreatedWidget(int route_id, 404 virtual void ShowCreatedWidget(int route_id,
405 const gfx::Rect& initial_pos) OVERRIDE; 405 const gfx::Rect& initial_pos) OVERRIDE;
406 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; 406 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE;
407 virtual void ShowContextMenu( 407 virtual void ShowContextMenu(
408 const content::ContextMenuParams& params) OVERRIDE; 408 const content::ContextMenuParams& params,
409 const content::ContextMenuEventType& type) OVERRIDE;
409 virtual void RequestMediaAccessPermission( 410 virtual void RequestMediaAccessPermission(
410 const content::MediaStreamRequest* request, 411 const content::MediaStreamRequest* request,
411 const content::MediaResponseCallback& callback) OVERRIDE; 412 const content::MediaResponseCallback& callback) OVERRIDE;
412 413
413 // RenderWidgetHostDelegate -------------------------------------------------- 414 // RenderWidgetHostDelegate --------------------------------------------------
414 415
415 virtual bool PreHandleKeyboardEvent( 416 virtual bool PreHandleKeyboardEvent(
416 const content::NativeWebKeyboardEvent& event, 417 const content::NativeWebKeyboardEvent& event,
417 bool* is_keyboard_shortcut) OVERRIDE; 418 bool* is_keyboard_shortcut) OVERRIDE;
418 virtual void HandleKeyboardEvent( 419 virtual void HandleKeyboardEvent(
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 content::NotificationRegistrar registrar_; 819 content::NotificationRegistrar registrar_;
819 820
820 // Used during IPC message dispatching so that the handlers can get a pointer 821 // Used during IPC message dispatching so that the handlers can get a pointer
821 // to the RVH through which the message was received. 822 // to the RVH through which the message was received.
822 content::RenderViewHost* message_source_; 823 content::RenderViewHost* message_source_;
823 824
824 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 825 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
825 }; 826 };
826 827
827 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 828 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698