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

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

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 virtual void setKeyboardFocusURL(const blink::WebURL& url); 451 virtual void setKeyboardFocusURL(const blink::WebURL& url);
452 virtual void startDragging(blink::WebFrame* frame, 452 virtual void startDragging(blink::WebFrame* frame,
453 const blink::WebDragData& data, 453 const blink::WebDragData& data,
454 blink::WebDragOperationsMask mask, 454 blink::WebDragOperationsMask mask,
455 const blink::WebImage& image, 455 const blink::WebImage& image,
456 const blink::WebPoint& imageOffset); 456 const blink::WebPoint& imageOffset);
457 virtual bool acceptsLoadDrops(); 457 virtual bool acceptsLoadDrops();
458 virtual void focusNext(); 458 virtual void focusNext();
459 virtual void focusPrevious(); 459 virtual void focusPrevious();
460 virtual void focusedNodeChanged(const blink::WebNode& node); 460 virtual void focusedNodeChanged(const blink::WebNode& node);
461 virtual void focusedFrameChanged(blink::WebFrame* frame);
461 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); 462 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers);
462 virtual void didUpdateLayout(); 463 virtual void didUpdateLayout();
463 #if defined(OS_ANDROID) 464 #if defined(OS_ANDROID)
464 virtual bool didTapMultipleTargets( 465 virtual bool didTapMultipleTargets(
465 const blink::WebGestureEvent& event, 466 const blink::WebGestureEvent& event,
466 const blink::WebVector<blink::WebRect>& target_rects); 467 const blink::WebVector<blink::WebRect>& target_rects);
467 #endif 468 #endif
468 virtual void navigateBackForwardSoon(int offset); 469 virtual void navigateBackForwardSoon(int offset);
469 virtual int historyBackListCount(); 470 virtual int historyBackListCount();
470 virtual int historyForwardListCount(); 471 virtual int historyForwardListCount();
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); 835 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message);
835 836
836 // Called when the "pinned to left/right edge" state needs to be updated. 837 // Called when the "pinned to left/right edge" state needs to be updated.
837 void UpdateScrollState(blink::WebFrame* frame); 838 void UpdateScrollState(blink::WebFrame* frame);
838 839
839 // IPC message handlers ------------------------------------------------------ 840 // IPC message handlers ------------------------------------------------------
840 // 841 //
841 // The documentation for these functions should be in 842 // The documentation for these functions should be in
842 // content/common/*_messages.h for the message that the function is handling. 843 // content/common/*_messages.h for the message that the function is handling.
843 844
844 void OnCopy();
845 void OnCut();
846 void OnDelete(); 845 void OnDelete();
847 void OnExecuteEditCommand(const std::string& name, const std::string& value); 846 void OnExecuteEditCommand(const std::string& name, const std::string& value);
848 void OnMoveCaret(const gfx::Point& point); 847 void OnMoveCaret(const gfx::Point& point);
849 void OnPaste();
850 void OnPasteAndMatchStyle(); 848 void OnPasteAndMatchStyle();
851 void OnRedo(); 849 void OnRedo();
852 void OnReplace(const base::string16& text); 850 void OnReplace(const base::string16& text);
853 void OnReplaceMisspelling(const base::string16& text); 851 void OnReplaceMisspelling(const base::string16& text);
854 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 852 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
855 void OnSelectAll(); 853 void OnSelectAll();
856 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); 854 void OnSelectRange(const gfx::Point& start, const gfx::Point& end);
857 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 855 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
858 void OnUndo(); 856 void OnUndo();
859 void OnUnselect(); 857 void OnUnselect();
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 // use the Observer interface to filter IPC messages and receive frame change 1444 // use the Observer interface to filter IPC messages and receive frame change
1447 // notifications. 1445 // notifications.
1448 // --------------------------------------------------------------------------- 1446 // ---------------------------------------------------------------------------
1449 1447
1450 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1448 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1451 }; 1449 };
1452 1450
1453 } // namespace content 1451 } // namespace content
1454 1452
1455 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1453 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698