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

Side by Side Diff: third_party/WebKit/public/web/WebRemoteFrameClient.h

Issue 1500873002: Implement sequential focus navigation for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Charlie's comments Created 5 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
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 WebRemoteFrameClient_h 5 #ifndef WebRemoteFrameClient_h
6 #define WebRemoteFrameClient_h 6 #define WebRemoteFrameClient_h
7 7
8 #include "public/platform/WebFocusType.h"
8 #include "public/platform/WebSecurityOrigin.h" 9 #include "public/platform/WebSecurityOrigin.h"
9 #include "public/web/WebDOMMessageEvent.h" 10 #include "public/web/WebDOMMessageEvent.h"
10 11
11 namespace blink { 12 namespace blink {
12 class WebInputEvent; 13 class WebInputEvent;
13 class WebLocalFrame; 14 class WebLocalFrame;
14 class WebRemoteFrame; 15 class WebRemoteFrame;
15 struct WebRect; 16 struct WebRect;
16 17
17 class WebRemoteFrameClient { 18 class WebRemoteFrameClient {
(...skipping 23 matching lines...) Expand all
41 virtual void reload(bool ignoreCache, bool isClientRedirect) { } 42 virtual void reload(bool ignoreCache, bool isClientRedirect) { }
42 43
43 // FIXME: Remove this method once we have input routing in the browser 44 // FIXME: Remove this method once we have input routing in the browser
44 // process. See http://crbug.com/339659. 45 // process. See http://crbug.com/339659.
45 virtual void forwardInputEvent(const WebInputEvent*) { } 46 virtual void forwardInputEvent(const WebInputEvent*) { }
46 47
47 virtual void frameRectsChanged(const WebRect&) { } 48 virtual void frameRectsChanged(const WebRect&) { }
48 49
49 // This frame updated its opener to another frame. 50 // This frame updated its opener to another frame.
50 virtual void didChangeOpener(WebFrame* opener) { } 51 virtual void didChangeOpener(WebFrame* opener) { }
52
53 // Continue sequential focus navigation in this frame. This is called when
54 // the |source| frame is searching for the next focusable element (e.g., in
55 // response to <tab>) and encounters a remote frame.
56 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) { }
51 }; 57 };
52 58
53 } // namespace blink 59 } // namespace blink
54 60
55 #endif // WebRemoteFrameClient_h 61 #endif // WebRemoteFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698