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

Side by Side Diff: content/renderer/render_widget.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Don't fall back to mainframe, formatting. Created 3 years, 7 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
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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 void OnCreatingNewAck(); 498 void OnCreatingNewAck();
499 virtual void OnResize(const ResizeParams& params); 499 virtual void OnResize(const ResizeParams& params);
500 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); 500 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
501 void OnDisableDeviceEmulation(); 501 void OnDisableDeviceEmulation();
502 virtual void OnWasHidden(); 502 virtual void OnWasHidden();
503 virtual void OnWasShown(bool needs_repainting, 503 virtual void OnWasShown(bool needs_repainting,
504 const ui::LatencyInfo& latency_info); 504 const ui::LatencyInfo& latency_info);
505 void OnCreateVideoAck(int32_t video_id); 505 void OnCreateVideoAck(int32_t video_id);
506 void OnUpdateVideoAck(int32_t video_id); 506 void OnUpdateVideoAck(int32_t video_id);
507 void OnRequestMoveAck(); 507 void OnRequestMoveAck();
508 // Request from browser to show context menu.
509 virtual void OnShowContextMenu(ui::MenuSourceType source_type,
510 const gfx::Point& location);
508 virtual void OnImeSetComposition( 511 virtual void OnImeSetComposition(
509 const base::string16& text, 512 const base::string16& text,
510 const std::vector<blink::WebCompositionUnderline>& underlines, 513 const std::vector<blink::WebCompositionUnderline>& underlines,
511 const gfx::Range& replacement_range, 514 const gfx::Range& replacement_range,
512 int selection_start, 515 int selection_start,
513 int selection_end); 516 int selection_end);
514 virtual void OnImeCommitText( 517 virtual void OnImeCommitText(
515 const base::string16& text, 518 const base::string16& text,
516 const std::vector<blink::WebCompositionUnderline>& underlines, 519 const std::vector<blink::WebCompositionUnderline>& underlines,
517 const gfx::Range& replacement_range, 520 const gfx::Range& replacement_range,
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 scoped_refptr<MainThreadEventQueue> input_event_queue_; 890 scoped_refptr<MainThreadEventQueue> input_event_queue_;
888 891
889 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 892 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
890 893
891 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 894 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
892 }; 895 };
893 896
894 } // namespace content 897 } // namespace content
895 898
896 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 899 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698