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

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: Null-check in History.cpp Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 41
41 RemoteFrameView* view() const; 42 RemoteFrameView* view() const;
42 43
(...skipping 11 matching lines...) Expand all
54 inline RemoteFrameView* RemoteFrame::view() const 55 inline RemoteFrameView* RemoteFrame::view() const
55 { 56 {
56 return m_view.get(); 57 return m_view.get();
57 } 58 }
58 59
59 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 60 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
60 61
61 } // namespace blink 62 } // namespace blink
62 63
63 #endif // RemoteFrame_h 64 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698