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

Side by Side Diff: public/web/WebFrameClient.h

Issue 319633007: Move WebScreenOrientationClient to WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class WebInputEvent; 67 class WebInputEvent;
68 class WebMediaPlayer; 68 class WebMediaPlayer;
69 class WebMediaPlayerClient; 69 class WebMediaPlayerClient;
70 class WebNotificationPresenter; 70 class WebNotificationPresenter;
71 class WebServiceWorkerProvider; 71 class WebServiceWorkerProvider;
72 class WebServiceWorkerProviderClient; 72 class WebServiceWorkerProviderClient;
73 class WebSocketHandle; 73 class WebSocketHandle;
74 class WebNode; 74 class WebNode;
75 class WebPlugin; 75 class WebPlugin;
76 class WebRTCPeerConnectionHandler; 76 class WebRTCPeerConnectionHandler;
77 class WebScreenOrientationClient;
77 class WebSharedWorker; 78 class WebSharedWorker;
78 class WebSharedWorkerClient; 79 class WebSharedWorkerClient;
79 class WebSocketStreamHandle; 80 class WebSocketStreamHandle;
80 class WebString; 81 class WebString;
81 class WebURL; 82 class WebURL;
82 class WebURLLoader; 83 class WebURLLoader;
83 class WebURLResponse; 84 class WebURLResponse;
84 class WebUserMediaClient; 85 class WebUserMediaClient;
85 class WebWorkerPermissionClientProxy; 86 class WebWorkerPermissionClientProxy;
86 struct WebColorSuggestion; 87 struct WebColorSuggestion;
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Extensions3D.h in WebCore/platform/graphics). 499 // Extensions3D.h in WebCore/platform/graphics).
499 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } 500 virtual void didLoseWebGLContext(WebLocalFrame*, int) { }
500 501
501 // FIXME: Remove this method once we have input routing in the browser 502 // FIXME: Remove this method once we have input routing in the browser
502 // process. See http://crbug.com/339659. 503 // process. See http://crbug.com/339659.
503 virtual void forwardInputEvent(const WebInputEvent*) { } 504 virtual void forwardInputEvent(const WebInputEvent*) { }
504 505
505 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 506 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
506 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 507 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
507 508
509
510 // Screen Orientation --------------------------------------------------
511
512 // Access the embedder API for (client-based) screen orientation client .
513 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; }
514
508 protected: 515 protected:
509 virtual ~WebFrameClient() { } 516 virtual ~WebFrameClient() { }
510 }; 517 };
511 518
512 } // namespace blink 519 } // namespace blink
513 520
514 #endif 521 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698