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

Side by Side Diff: third_party/WebKit/Source/core/page/FocusController.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 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 /* 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 30 matching lines...) Expand all
41 class Document; 41 class Document;
42 class Element; 42 class Element;
43 class Frame; 43 class Frame;
44 class HTMLFrameOwnerElement; 44 class HTMLFrameOwnerElement;
45 class InputDeviceCapabilities; 45 class InputDeviceCapabilities;
46 class LocalFrame; 46 class LocalFrame;
47 class Node; 47 class Node;
48 class Page; 48 class Page;
49 class RemoteFrame; 49 class RemoteFrame;
50 50
51 class CORE_EXPORT FocusController final : public GarbageCollectedFinalized<Focus Controller> { 51 class CORE_EXPORT FocusController final : public GarbageCollected<FocusControlle r> {
52 WTF_MAKE_NONCOPYABLE(FocusController); 52 WTF_MAKE_NONCOPYABLE(FocusController);
53 public: 53 public:
54 static FocusController* create(Page*); 54 static FocusController* create(Page*);
55 55
56 void setFocusedFrame(Frame*, bool notifyEmbedder = true); 56 void setFocusedFrame(Frame*, bool notifyEmbedder = true);
57 void focusDocumentView(Frame*, bool notifyEmbedder = true); 57 void focusDocumentView(Frame*, bool notifyEmbedder = true);
58 LocalFrame* focusedFrame() const; 58 LocalFrame* focusedFrame() const;
59 Frame* focusedOrMainFrame() const; 59 Frame* focusedOrMainFrame() const;
60 60
61 // Finds the focused HTMLFrameOwnerElement, if any, in the provided frame. 61 // Finds the focused HTMLFrameOwnerElement, if any, in the provided frame.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 Member<Page> m_page; 100 Member<Page> m_page;
101 Member<Frame> m_focusedFrame; 101 Member<Frame> m_focusedFrame;
102 bool m_isActive; 102 bool m_isActive;
103 bool m_isFocused; 103 bool m_isFocused;
104 bool m_isChangingFocusedFrame; 104 bool m_isChangingFocusedFrame;
105 }; 105 };
106 106
107 } // namespace blink 107 } // namespace blink
108 108
109 #endif // FocusController_h 109 #endif // FocusController_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/core/svg/PatternAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698