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

Side by Side Diff: third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #ifndef TextControlInnerElements_h 27 #ifndef TextControlInnerElements_h
28 #define TextControlInnerElements_h 28 #define TextControlInnerElements_h
29 29
30 #include "core/html/HTMLDivElement.h" 30 #include "core/html/HTMLDivElement.h"
31 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class TextControlInnerContainer final : public HTMLDivElement { 35 class TextControlInnerContainer final : public HTMLDivElement {
36 public: 36 public:
37 static PassRefPtrWillBeRawPtr<TextControlInnerContainer> create(Document&); 37 static RawPtr<TextControlInnerContainer> create(Document&);
38 38
39 protected: 39 protected:
40 explicit TextControlInnerContainer(Document&); 40 explicit TextControlInnerContainer(Document&);
41 LayoutObject* createLayoutObject(const ComputedStyle&) override; 41 LayoutObject* createLayoutObject(const ComputedStyle&) override;
42 }; 42 };
43 43
44 class EditingViewPortElement final : public HTMLDivElement { 44 class EditingViewPortElement final : public HTMLDivElement {
45 public: 45 public:
46 static PassRefPtrWillBeRawPtr<EditingViewPortElement> create(Document&); 46 static RawPtr<EditingViewPortElement> create(Document&);
47 47
48 protected: 48 protected:
49 explicit EditingViewPortElement(Document&); 49 explicit EditingViewPortElement(Document&);
50 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; 50 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
51 51
52 private: 52 private:
53 bool supportsFocus() const override { return false; } 53 bool supportsFocus() const override { return false; }
54 }; 54 };
55 55
56 class TextControlInnerEditorElement final : public HTMLDivElement { 56 class TextControlInnerEditorElement final : public HTMLDivElement {
57 public: 57 public:
58 static PassRefPtrWillBeRawPtr<TextControlInnerEditorElement> create(Document &); 58 static RawPtr<TextControlInnerEditorElement> create(Document&);
59 59
60 void defaultEventHandler(Event*) override; 60 void defaultEventHandler(Event*) override;
61 61
62 private: 62 private:
63 explicit TextControlInnerEditorElement(Document&); 63 explicit TextControlInnerEditorElement(Document&);
64 LayoutObject* createLayoutObject(const ComputedStyle&) override; 64 LayoutObject* createLayoutObject(const ComputedStyle&) override;
65 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; 65 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
66 bool supportsFocus() const override { return false; } 66 bool supportsFocus() const override { return false; }
67 }; 67 };
68 68
69 class SearchFieldDecorationElement final : public HTMLDivElement { 69 class SearchFieldDecorationElement final : public HTMLDivElement {
70 public: 70 public:
71 static PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> create(Document& ); 71 static RawPtr<SearchFieldDecorationElement> create(Document&);
72 72
73 void defaultEventHandler(Event*) override; 73 void defaultEventHandler(Event*) override;
74 bool willRespondToMouseClickEvents() override; 74 bool willRespondToMouseClickEvents() override;
75 75
76 private: 76 private:
77 explicit SearchFieldDecorationElement(Document&); 77 explicit SearchFieldDecorationElement(Document&);
78 const AtomicString& shadowPseudoId() const override; 78 const AtomicString& shadowPseudoId() const override;
79 bool supportsFocus() const override { return false; } 79 bool supportsFocus() const override { return false; }
80 }; 80 };
81 81
82 class SearchFieldCancelButtonElement final : public HTMLDivElement { 82 class SearchFieldCancelButtonElement final : public HTMLDivElement {
83 public: 83 public:
84 static PassRefPtrWillBeRawPtr<SearchFieldCancelButtonElement> create(Documen t&); 84 static RawPtr<SearchFieldCancelButtonElement> create(Document&);
85 85
86 void defaultEventHandler(Event*) override; 86 void defaultEventHandler(Event*) override;
87 bool willRespondToMouseClickEvents() override; 87 bool willRespondToMouseClickEvents() override;
88 88
89 private: 89 private:
90 explicit SearchFieldCancelButtonElement(Document&); 90 explicit SearchFieldCancelButtonElement(Document&);
91 void detach(const AttachContext& = AttachContext()) override; 91 void detach(const AttachContext& = AttachContext()) override;
92 bool supportsFocus() const override { return false; } 92 bool supportsFocus() const override { return false; }
93 93
94 bool m_capturing; 94 bool m_capturing;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif 99 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698