| OLD | NEW | 
|   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/CoreExport.h" |   8 #include "core/CoreExport.h" | 
|   9 #include "core/dom/RemoteSecurityContext.h" |   9 #include "core/dom/RemoteSecurityContext.h" | 
|  10 #include "core/frame/Frame.h" |  10 #include "core/frame/Frame.h" | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  31                 bool replace_current_item, |  31                 bool replace_current_item, | 
|  32                 UserGestureStatus) override; |  32                 UserGestureStatus) override; | 
|  33   void Navigate(const FrameLoadRequest& passed_request) override; |  33   void Navigate(const FrameLoadRequest& passed_request) override; | 
|  34   void Reload(FrameLoadType, ClientRedirectPolicy) override; |  34   void Reload(FrameLoadType, ClientRedirectPolicy) override; | 
|  35   void Detach(FrameDetachType) override; |  35   void Detach(FrameDetachType) override; | 
|  36   RemoteSecurityContext* GetSecurityContext() const override; |  36   RemoteSecurityContext* GetSecurityContext() const override; | 
|  37   void PrintNavigationErrorMessage(const Frame&, const char* reason) override {} |  37   void PrintNavigationErrorMessage(const Frame&, const char* reason) override {} | 
|  38   void PrintNavigationWarning(const String&) override {} |  38   void PrintNavigationWarning(const String&) override {} | 
|  39   bool PrepareForCommit() override; |  39   bool PrepareForCommit() override; | 
|  40   bool ShouldClose() override; |  40   bool ShouldClose() override; | 
 |  41   void SetIsInert(bool) override; | 
|  41  |  42  | 
|  42   void SetWebLayer(WebLayer*); |  43   void SetWebLayer(WebLayer*); | 
|  43   WebLayer* GetWebLayer() const { return web_layer_; } |  44   WebLayer* GetWebLayer() const { return web_layer_; } | 
|  44  |  45  | 
|  45   void AdvanceFocus(WebFocusType, LocalFrame* source); |  46   void AdvanceFocus(WebFocusType, LocalFrame* source); | 
|  46  |  47  | 
|  47   void SetView(RemoteFrameView*); |  48   void SetView(RemoteFrameView*); | 
|  48   void CreateView(); |  49   void CreateView(); | 
|  49  |  50  | 
|  50   RemoteFrameView* View() const override; |  51   RemoteFrameView* View() const override; | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
|  72  |  73  | 
|  73 DEFINE_TYPE_CASTS(RemoteFrame, |  74 DEFINE_TYPE_CASTS(RemoteFrame, | 
|  74                   Frame, |  75                   Frame, | 
|  75                   remoteFrame, |  76                   remoteFrame, | 
|  76                   remoteFrame->IsRemoteFrame(), |  77                   remoteFrame->IsRemoteFrame(), | 
|  77                   remoteFrame.IsRemoteFrame()); |  78                   remoteFrame.IsRemoteFrame()); | 
|  78  |  79  | 
|  79 }  // namespace blink |  80 }  // namespace blink | 
|  80  |  81  | 
|  81 #endif  // RemoteFrame_h |  82 #endif  // RemoteFrame_h | 
| OLD | NEW |