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

Side by Side Diff: Source/core/page/ContextMenuController.h

Issue 955583002: InlinedVisitor: Migrate page to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/core/page/ContextMenuController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class Document; 42 class Document;
43 class Event; 43 class Event;
44 class LocalFrame; 44 class LocalFrame;
45 class Page; 45 class Page;
46 46
47 class ContextMenuController final : public NoBaseWillBeGarbageCollectedFinal ized<ContextMenuController> { 47 class ContextMenuController final : public NoBaseWillBeGarbageCollectedFinal ized<ContextMenuController> {
48 WTF_MAKE_NONCOPYABLE(ContextMenuController); WTF_MAKE_FAST_ALLOCATED_WIL L_BE_REMOVED; 48 WTF_MAKE_NONCOPYABLE(ContextMenuController); WTF_MAKE_FAST_ALLOCATED_WIL L_BE_REMOVED;
49 public: 49 public:
50 static PassOwnPtrWillBeRawPtr<ContextMenuController> create(Page*, Conte xtMenuClient*); 50 static PassOwnPtrWillBeRawPtr<ContextMenuController> create(Page*, Conte xtMenuClient*);
51 ~ContextMenuController(); 51 ~ContextMenuController();
52 void trace(Visitor*); 52 DECLARE_TRACE();
53 53
54 ContextMenu* contextMenu() const { return m_contextMenu.get(); } 54 ContextMenu* contextMenu() const { return m_contextMenu.get(); }
55 void clearContextMenu(); 55 void clearContextMenu();
56 56
57 void documentDetached(Document*); 57 void documentDetached(Document*);
58 58
59 void handleContextMenuEvent(Event*); 59 void handleContextMenuEvent(Event*);
60 void showContextMenu(Event*, PassRefPtrWillBeRawPtr<ContextMenuProvider> ); 60 void showContextMenu(Event*, PassRefPtrWillBeRawPtr<ContextMenuProvider> );
61 void showContextMenuAtPoint(LocalFrame*, float x, float y, PassRefPtrWil lBeRawPtr<ContextMenuProvider>); 61 void showContextMenuAtPoint(LocalFrame*, float x, float y, PassRefPtrWil lBeRawPtr<ContextMenuProvider>);
62 62
(...skipping 11 matching lines...) Expand all
74 74
75 ContextMenuClient* m_client; 75 ContextMenuClient* m_client;
76 OwnPtr<ContextMenu> m_contextMenu; 76 OwnPtr<ContextMenu> m_contextMenu;
77 RefPtrWillBeMember<ContextMenuProvider> m_menuProvider; 77 RefPtrWillBeMember<ContextMenuProvider> m_menuProvider;
78 HitTestResult m_hitTestResult; 78 HitTestResult m_hitTestResult;
79 }; 79 };
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif // ContextMenuController_h 83 #endif // ContextMenuController_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/page/ContextMenuController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698