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

Side by Side Diff: Source/core/frame/RemoteFrame.h

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address dcheng's comments Created 6 years 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 | Annotate | Revision Log
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 RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/dom/RemoteSecurityContext.h" 8 #include "core/dom/RemoteSecurityContext.h"
9 #include "core/frame/Frame.h" 9 #include "core/frame/Frame.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 // Frame overrides: 24 // Frame overrides:
25 void trace(Visitor*) override; 25 void trace(Visitor*) override;
26 virtual bool isRemoteFrame() const override { return true; } 26 virtual bool isRemoteFrame() const override { return true; }
27 virtual DOMWindow* domWindow() const override; 27 virtual DOMWindow* domWindow() const override;
28 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList) override; 28 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList) override;
29 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override; 29 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override;
30 virtual void detach() override; 30 virtual void detach() override;
31 virtual RemoteSecurityContext* securityContext() const override; 31 virtual RemoteSecurityContext* securityContext() const override;
32 bool checkLoadComplete() override; 32 bool checkLoadComplete() override;
33 void printNavigationErrorMessage(const Frame&, const char* reason) { }
33 34
34 // FIXME: Remove this method once we have input routing in the browser 35 // FIXME: Remove this method once we have input routing in the browser
35 // process. See http://crbug.com/339659. 36 // process. See http://crbug.com/339659.
36 void forwardInputEvent(Event*); 37 void forwardInputEvent(Event*);
37 38
38 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); 39 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
39 void createView(); 40 void createView();
40 void setIsLoading(bool isLoading) { m_isLoading = isLoading; } 41 void setIsLoading(bool isLoading) { m_isLoading = isLoading; }
41 42
42 RemoteFrameView* view() const; 43 RemoteFrameView* view() const;
(...skipping 14 matching lines...) Expand all
57 inline RemoteFrameView* RemoteFrame::view() const 58 inline RemoteFrameView* RemoteFrame::view() const
58 { 59 {
59 return m_view.get(); 60 return m_view.get();
60 } 61 }
61 62
62 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 63 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
63 64
64 } // namespace blink 65 } // namespace blink
65 66
66 #endif // RemoteFrame_h 67 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698