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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2863853002: Introduce the class webLocalFrameBase anf make WebLocalFrameImpl derived it. (Closed)
Patch Set: Add WebLocalViewBase.h to the BUILD file. 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebLocalFrameImpl_h 31 #ifndef WebLocalFrameImpl_h
32 #define WebLocalFrameImpl_h 32 #define WebLocalFrameImpl_h
33 33
34 #include "core/editing/VisiblePosition.h" 34 #include "core/editing/VisiblePosition.h"
35 #include "core/frame/ContentSettingsClient.h" 35 #include "core/frame/ContentSettingsClient.h"
36 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
37 #include "core/frame/WebLocalFrameBase.h"
37 #include "platform/geometry/FloatRect.h" 38 #include "platform/geometry/FloatRect.h"
38 #include "platform/heap/SelfKeepAlive.h" 39 #include "platform/heap/SelfKeepAlive.h"
39 #include "platform/wtf/Compiler.h" 40 #include "platform/wtf/Compiler.h"
40 #include "platform/wtf/text/WTFString.h" 41 #include "platform/wtf/text/WTFString.h"
41 #include "public/platform/WebFileSystemType.h" 42 #include "public/platform/WebFileSystemType.h"
42 #include "public/web/WebLocalFrame.h" 43 #include "public/web/WebLocalFrame.h"
43 #include "web/LocalFrameClientImpl.h" 44 #include "web/LocalFrameClientImpl.h"
44 #include "web/UserMediaClientImpl.h" 45 #include "web/UserMediaClientImpl.h"
45 #include "web/WebExport.h" 46 #include "web/WebExport.h"
46 #include "web/WebFrameWidgetBase.h" 47 #include "web/WebFrameWidgetBase.h"
(...skipping 30 matching lines...) Expand all
77 struct FrameLoadRequest; 78 struct FrameLoadRequest;
78 struct WebContentSecurityPolicyViolation; 79 struct WebContentSecurityPolicyViolation;
79 struct WebPrintParams; 80 struct WebPrintParams;
80 81
81 template <typename T> 82 template <typename T>
82 class WebVector; 83 class WebVector;
83 84
84 // Implementation of WebFrame, note that this is a reference counted object. 85 // Implementation of WebFrame, note that this is a reference counted object.
85 class WEB_EXPORT WebLocalFrameImpl final 86 class WEB_EXPORT WebLocalFrameImpl final
86 : public GarbageCollectedFinalized<WebLocalFrameImpl>, 87 : public GarbageCollectedFinalized<WebLocalFrameImpl>,
87 NON_EXPORTED_BASE(public WebLocalFrame) { 88 NON_EXPORTED_BASE(public WebLocalFrameBase) {
88 public: 89 public:
89 // WebFrame methods: 90 // WebFrame methods:
90 // TODO(dcheng): Fix sorting here; a number of method have been moved to 91 // TODO(dcheng): Fix sorting here; a number of method have been moved to
91 // WebLocalFrame but not correctly updated here. 92 // WebLocalFrame but not correctly updated here.
92 void Close() override; 93 void Close() override;
93 WebString AssignedName() const override; 94 WebString AssignedName() const override;
94 void SetName(const WebString&) override; 95 void SetName(const WebString&) override;
95 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override; 96 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override;
96 void SetSharedWorkerRepositoryClient( 97 void SetSharedWorkerRepositoryClient(
97 WebSharedWorkerRepositoryClient*) override; 98 WebSharedWorkerRepositoryClient*) override;
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 519
519 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 520 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
520 WebFrame, 521 WebFrame,
521 frame, 522 frame,
522 frame->IsWebLocalFrame(), 523 frame->IsWebLocalFrame(),
523 frame.IsWebLocalFrame()); 524 frame.IsWebLocalFrame());
524 525
525 } // namespace blink 526 } // namespace blink
526 527
527 #endif 528 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698