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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/frame/WebRemoteFrameBase.h" 10 #include "core/frame/WebRemoteFrameBase.h"
(...skipping 20 matching lines...) Expand all
31 ~WebRemoteFrameImpl() override; 31 ~WebRemoteFrameImpl() override;
32 32
33 // WebFrame methods: 33 // WebFrame methods:
34 void Close() override; 34 void Close() override;
35 WebString AssignedName() const override; 35 WebString AssignedName() const override;
36 void SetName(const WebString&) override; 36 void SetName(const WebString&) override;
37 WebSize ContentsSize() const override; 37 WebSize ContentsSize() const override;
38 bool HasVisibleContent() const override; 38 bool HasVisibleContent() const override;
39 WebRect VisibleContentRect() const override; 39 WebRect VisibleContentRect() const override;
40 WebView* View() const override; 40 WebView* View() const override;
41 WebDocument GetDocument() const override;
42 WebPerformance Performance() const override; 41 WebPerformance Performance() const override;
43 void StopLoading() override; 42 void StopLoading() override;
44 void EnableViewSourceMode(bool enable) override; 43 void EnableViewSourceMode(bool enable) override;
45 bool IsViewSourceModeEnabled() const override; 44 bool IsViewSourceModeEnabled() const override;
46 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 45 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
47 WebAssociatedURLLoader* CreateAssociatedURLLoader( 46 WebAssociatedURLLoader* CreateAssociatedURLLoader(
48 const WebAssociatedURLLoaderOptions&) override; 47 const WebAssociatedURLLoaderOptions&) override;
49 unsigned UnloadListenerCount() const override; 48 unsigned UnloadListenerCount() const override;
50 49
51 // WebRemoteFrame methods: 50 // WebRemoteFrame methods:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 120
122 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 121 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
123 WebFrame, 122 WebFrame,
124 frame, 123 frame,
125 frame->IsWebRemoteFrame(), 124 frame->IsWebRemoteFrame(),
126 frame.IsWebRemoteFrame()); 125 frame.IsWebRemoteFrame());
127 126
128 } // namespace blink 127 } // namespace blink
129 128
130 #endif // WebRemoteFrameImpl_h 129 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « extensions/renderer/script_context_set.cc ('k') | third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698