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

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

Issue 2248823003: Use the correct scale factor when rendering RemoteFrames with UseZoomForDSF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enclosing rect Created 4 years, 4 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
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/WebFocusType.h"
9 #include "public/platform/WebSecurityOrigin.h" 9 #include "public/platform/WebSecurityOrigin.h"
10 #include "public/web/WebDOMMessageEvent.h" 10 #include "public/web/WebDOMMessageEvent.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Notifies the embedder that a postMessage was issued to a remote frame. 28 // Notifies the embedder that a postMessage was issued to a remote frame.
29 virtual void forwardPostMessage( 29 virtual void forwardPostMessage(
30 WebLocalFrame* sourceFrame, 30 WebLocalFrame* sourceFrame,
31 WebRemoteFrame* targetFrame, 31 WebRemoteFrame* targetFrame,
32 WebSecurityOrigin targetOrigin, 32 WebSecurityOrigin targetOrigin,
33 WebDOMMessageEvent) {} 33 WebDOMMessageEvent) {}
34 34
35 // Send initial drawing parameters to a child frame that is being rendered 35 // Send initial drawing parameters to a child frame that is being rendered
36 // out of process. 36 // out of process.
37 virtual void initializeChildFrame(float deviceScaleFactor) { } 37 virtual void initializeChildFrame() {}
38 38
39 // A remote frame was asked to start a navigation. 39 // A remote frame was asked to start a navigation.
40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { } 40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { }
41 virtual void reload(WebFrameLoadType, WebClientRedirectPolicy) {} 41 virtual void reload(WebFrameLoadType, WebClientRedirectPolicy) {}
42 42
43 // FIXME: Remove this method once we have input routing in the browser 43 // FIXME: Remove this method once we have input routing in the browser
44 // process. See http://crbug.com/339659. 44 // process. See http://crbug.com/339659.
45 virtual void forwardInputEvent(const WebInputEvent*) { } 45 virtual void forwardInputEvent(const WebInputEvent*) { }
46 46
47 virtual void frameRectsChanged(const WebRect&) { } 47 virtual void frameRectsChanged(const WebRect&) { }
48 48
49 virtual void visibilityChanged(bool visible) {} 49 virtual void visibilityChanged(bool visible) {}
50 50
51 // This frame updated its opener to another frame. 51 // This frame updated its opener to another frame.
52 virtual void didChangeOpener(WebFrame* opener) { } 52 virtual void didChangeOpener(WebFrame* opener) { }
53 53
54 // Continue sequential focus navigation in this frame. This is called when 54 // Continue sequential focus navigation in this frame. This is called when
55 // the |source| frame is searching for the next focusable element (e.g., in 55 // the |source| frame is searching for the next focusable element (e.g., in
56 // response to <tab>) and encounters a remote frame. 56 // response to <tab>) and encounters a remote frame.
57 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) { } 57 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) { }
58 58
59 // This frame was focused by another frame. 59 // This frame was focused by another frame.
60 virtual void frameFocused() { } 60 virtual void frameFocused() { }
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // WebRemoteFrameClient_h 65 #endif // WebRemoteFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698