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

Side by Side Diff: third_party/WebKit/Source/core/frame/WebLocalFrameBase.h

Issue 2896563002: Update WebLocalFrameImpl with WebLocalFrameBase to break dependencies. (Closed)
Patch Set: Rebase 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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.#ifndef WebViewBase_h 3 // found in the LICENSE file.#ifndef WebViewBase_h
4 4
5 #ifndef WebLocalFrameBase_h 5 #ifndef WebLocalFrameBase_h
6 #define WebLocalFrameBase_h 6 #define WebLocalFrameBase_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/WebFrameWidgetBase.h" 9 #include "core/frame/WebFrameWidgetBase.h"
10 #include "core/loader/FrameLoaderTypes.h" 10 #include "core/loader/FrameLoaderTypes.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 HistoryCommitType) = 0; 69 HistoryCommitType) = 0;
70 virtual void DidFinish() = 0; 70 virtual void DidFinish() = 0;
71 virtual void CreateFrameView() = 0; 71 virtual void CreateFrameView() = 0;
72 virtual LocalFrame* CreateChildFrame(const FrameLoadRequest&, 72 virtual LocalFrame* CreateChildFrame(const FrameLoadRequest&,
73 const AtomicString& name, 73 const AtomicString& name,
74 HTMLFrameOwnerElement*) = 0; 74 HTMLFrameOwnerElement*) = 0;
75 virtual ContentSettingsClient& GetContentSettingsClient() = 0; 75 virtual ContentSettingsClient& GetContentSettingsClient() = 0;
76 virtual SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() 76 virtual SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient()
77 const = 0; 77 const = 0;
78 virtual TextCheckerClient& GetTextCheckerClient() const = 0; 78 virtual TextCheckerClient& GetTextCheckerClient() const = 0;
79 virtual TextFinder* GetTextFinder() const = 0;
80 virtual void SetInputEventsTransformForEmulation(const IntSize&, float) = 0;
79 81
80 DEFINE_INLINE_VIRTUAL_TRACE() {} 82 DEFINE_INLINE_VIRTUAL_TRACE() {}
81 83
82 protected: 84 protected:
83 explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {} 85 explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {}
84 }; 86 };
85 87
86 DEFINE_TYPE_CASTS(WebLocalFrameBase, 88 DEFINE_TYPE_CASTS(WebLocalFrameBase,
87 WebFrame, 89 WebFrame,
88 frame, 90 frame,
89 frame->IsWebLocalFrame(), 91 frame->IsWebLocalFrame(),
90 frame.IsWebLocalFrame()); 92 frame.IsWebLocalFrame());
91 93
92 } // namespace blink 94 } // namespace blink
93 95
94 #endif // WebLocalFrameBase_h 96 #endif // WebLocalFrameBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebViewBase.h ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698