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

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

Issue 2884563003: Move WebFrameWidgetBase to core/frame/. (Closed)
Patch Set: Fix windows build error. 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 "public/web/WebLocalFrame.h" 10 #include "public/web/WebLocalFrame.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class FrameOwner; 14 class FrameOwner;
14 class FrameView; 15 class FrameView;
15 class LocalFrame; 16 class LocalFrame;
16 class Node; 17 class Node;
17 class Page; 18 class Page;
18 class TextFinder; 19 class TextFinder;
(...skipping 22 matching lines...) Expand all
41 virtual void SetClient(WebFrameClient*) = 0; 42 virtual void SetClient(WebFrameClient*) = 0;
42 virtual WebTextCheckClient* TextCheckClient() const = 0; 43 virtual WebTextCheckClient* TextCheckClient() const = 0;
43 virtual void SetContextMenuNode(Node*) = 0; 44 virtual void SetContextMenuNode(Node*) = 0;
44 virtual void ClearContextMenuNode() = 0; 45 virtual void ClearContextMenuNode() = 0;
45 virtual LocalFrame* GetFrame() const = 0; 46 virtual LocalFrame* GetFrame() const = 0;
46 virtual FrameView* GetFrameView() const = 0; 47 virtual FrameView* GetFrameView() const = 0;
47 virtual void InitializeCoreFrame(Page&, 48 virtual void InitializeCoreFrame(Page&,
48 FrameOwner*, 49 FrameOwner*,
49 const AtomicString& name) = 0; 50 const AtomicString& name) = 0;
50 virtual TextFinder& EnsureTextFinder() = 0; 51 virtual TextFinder& EnsureTextFinder() = 0;
52 virtual WebFrameWidgetBase* FrameWidget() const = 0;
51 virtual void SetFrameWidget(WebFrameWidgetBase*) = 0; 53 virtual void SetFrameWidget(WebFrameWidgetBase*) = 0;
52 virtual WebDevToolsAgentImpl* DevToolsAgentImpl() const = 0; 54 virtual WebDevToolsAgentImpl* DevToolsAgentImpl() const = 0;
53 55
54 DEFINE_INLINE_VIRTUAL_TRACE() {} 56 DEFINE_INLINE_VIRTUAL_TRACE() {}
55 57
56 protected: 58 protected:
57 explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {} 59 explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {}
58 }; 60 };
59 61
60 DEFINE_TYPE_CASTS(WebLocalFrameBase, 62 DEFINE_TYPE_CASTS(WebLocalFrameBase,
61 WebFrame, 63 WebFrame,
62 frame, 64 frame,
63 frame->IsWebLocalFrame(), 65 frame->IsWebLocalFrame(),
64 frame.IsWebLocalFrame()); 66 frame.IsWebLocalFrame());
65 67
66 } // namespace blink 68 } // namespace blink
67 69
68 #endif // WebLocalFrameBase_h 70 #endif // WebLocalFrameBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698