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

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: m_client null check 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
« no previous file with comments | « public/platform/WebScreenOrientationClient.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 class WebMediaPlayer; 68 class WebMediaPlayer;
69 class WebMediaPlayerClient; 69 class WebMediaPlayerClient;
70 class WebMIDIClient; 70 class WebMIDIClient;
71 class WebNotificationPresenter; 71 class WebNotificationPresenter;
72 class WebServiceWorkerProvider; 72 class WebServiceWorkerProvider;
73 class WebServiceWorkerProviderClient; 73 class WebServiceWorkerProviderClient;
74 class WebSocketHandle; 74 class WebSocketHandle;
75 class WebNode; 75 class WebNode;
76 class WebPlugin; 76 class WebPlugin;
77 class WebRTCPeerConnectionHandler; 77 class WebRTCPeerConnectionHandler;
78 class WebScreenOrientationClient;
78 class WebSharedWorker; 79 class WebSharedWorker;
79 class WebSharedWorkerClient; 80 class WebSharedWorkerClient;
80 class WebSocketStreamHandle; 81 class WebSocketStreamHandle;
81 class WebString; 82 class WebString;
82 class WebURL; 83 class WebURL;
83 class WebURLLoader; 84 class WebURLLoader;
84 class WebURLResponse; 85 class WebURLResponse;
85 class WebUserMediaClient; 86 class WebUserMediaClient;
86 class WebWorkerPermissionClientProxy; 87 class WebWorkerPermissionClientProxy;
87 struct WebColorSuggestion; 88 struct WebColorSuggestion;
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // Extensions3D.h in WebCore/platform/graphics). 502 // Extensions3D.h in WebCore/platform/graphics).
502 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } 503 virtual void didLoseWebGLContext(WebLocalFrame*, int) { }
503 504
504 // FIXME: Remove this method once we have input routing in the browser 505 // FIXME: Remove this method once we have input routing in the browser
505 // process. See http://crbug.com/339659. 506 // process. See http://crbug.com/339659.
506 virtual void forwardInputEvent(const WebInputEvent*) { } 507 virtual void forwardInputEvent(const WebInputEvent*) { }
507 508
508 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 509 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
509 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 510 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
510 511
512
513 // Screen Orientation --------------------------------------------------
514
515 // Access the embedder API for (client-based) screen orientation client .
516 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; }
517
511 protected: 518 protected:
512 virtual ~WebFrameClient() { } 519 virtual ~WebFrameClient() { }
513 }; 520 };
514 521
515 } // namespace blink 522 } // namespace blink
516 523
517 #endif 524 #endif
OLDNEW
« no previous file with comments | « public/platform/WebScreenOrientationClient.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698