| 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 RemoteFrameClient_h | 5 #ifndef RemoteFrameClient_h |
| 6 #define RemoteFrameClient_h | 6 #define RemoteFrameClient_h |
| 7 | 7 |
| 8 #include "core/frame/FrameClient.h" | 8 #include "core/frame/FrameClient.h" |
| 9 #include "core/frame/FrameTypes.h" | 9 #include "core/frame/FrameTypes.h" |
| 10 #include "core/loader/FrameLoaderTypes.h" | 10 #include "core/loader/FrameLoaderTypes.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class Event; | 14 class Event; |
| 15 class ResourceRequest; | 15 class ResourceRequest; |
| 16 | 16 |
| 17 class RemoteFrameClient : public FrameClient { | 17 class RemoteFrameClient : public FrameClient { |
| 18 public: | 18 public: |
| 19 virtual ~RemoteFrameClient() { } | 19 virtual ~RemoteFrameClient() { } |
| 20 | 20 |
| 21 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; | 21 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; |
| 22 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 22 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
| 23 virtual unsigned backForwardLength() = 0; |
| 23 | 24 |
| 24 // FIXME: Remove this method once we have input routing in the browser | 25 // FIXME: Remove this method once we have input routing in the browser |
| 25 // process. See http://crbug.com/339659. | 26 // process. See http://crbug.com/339659. |
| 26 virtual void forwardInputEvent(Event*) = 0; | 27 virtual void forwardInputEvent(Event*) = 0; |
| 27 }; | 28 }; |
| 28 | 29 |
| 29 } // namespace blink | 30 } // namespace blink |
| 30 | 31 |
| 31 #endif // RemoteFrameClient_h | 32 #endif // RemoteFrameClient_h |
| OLD | NEW |