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

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

Issue 2702103002: [ScreenOrientation] De-associate device.mojom.ScreenOrientation from legacy IPC channel.
Patch Set: Synchronize response of lock success with legacy IPC ViewMsg_Resize. Created 3 years, 10 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 | « third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h ('k') | no next file » | 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 class WebMediaPlayer; 84 class WebMediaPlayer;
85 class WebMediaPlayerClient; 85 class WebMediaPlayerClient;
86 class WebMediaPlayerEncryptedMediaClient; 86 class WebMediaPlayerEncryptedMediaClient;
87 class WebMediaPlayerSource; 87 class WebMediaPlayerSource;
88 class WebMediaSession; 88 class WebMediaSession;
89 class WebServiceWorkerProvider; 89 class WebServiceWorkerProvider;
90 class WebPlugin; 90 class WebPlugin;
91 class WebPresentationClient; 91 class WebPresentationClient;
92 class WebPushClient; 92 class WebPushClient;
93 class WebRTCPeerConnectionHandler; 93 class WebRTCPeerConnectionHandler;
94 class WebScreenOrientationClient;
95 class WebString; 94 class WebString;
96 class WebURL; 95 class WebURL;
97 class WebURLResponse; 96 class WebURLResponse;
98 class WebUserMediaClient; 97 class WebUserMediaClient;
99 class WebWorkerContentSettingsClientProxy; 98 class WebWorkerContentSettingsClientProxy;
100 struct WebColorSuggestion; 99 struct WebColorSuggestion;
101 struct WebConsoleMessage; 100 struct WebConsoleMessage;
102 struct WebContextMenuData; 101 struct WebContextMenuData;
103 struct WebPluginParams; 102 struct WebPluginParams;
104 struct WebPopupMenuInfo; 103 struct WebPopupMenuInfo;
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 // WebGL ------------------------------------------------------ 652 // WebGL ------------------------------------------------------
654 653
655 // Asks the embedder whether WebGL is allowed for the WebFrame. This call is 654 // Asks the embedder whether WebGL is allowed for the WebFrame. This call is
656 // placed here instead of WebContentSettingsClient because this class is 655 // placed here instead of WebContentSettingsClient because this class is
657 // implemented in content/, and putting it here avoids adding more public 656 // implemented in content/, and putting it here avoids adding more public
658 // content/ APIs. 657 // content/ APIs.
659 virtual bool allowWebGL(bool defaultValue) { return defaultValue; } 658 virtual bool allowWebGL(bool defaultValue) { return defaultValue; }
660 659
661 // Screen Orientation -------------------------------------------------- 660 // Screen Orientation --------------------------------------------------
662 661
663 // Access the embedder API for (client-based) screen orientation client .
664 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; }
665
666 // Accessibility ------------------------------------------------------- 662 // Accessibility -------------------------------------------------------
667 663
668 // Notifies embedder about an accessibility event. 664 // Notifies embedder about an accessibility event.
669 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) {} 665 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) {}
670 666
671 // Provides accessibility information about a find in page result. 667 // Provides accessibility information about a find in page result.
672 virtual void handleAccessibilityFindInPageResult( 668 virtual void handleAccessibilityFindInPageResult(
673 int identifier, 669 int identifier,
674 int matchIndex, 670 int matchIndex,
675 const WebAXObject& startObject, 671 const WebAXObject& startObject,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Overwrites the given URL to use an HTML5 embed if possible. 748 // Overwrites the given URL to use an HTML5 embed if possible.
753 // An empty URL is returned if the URL is not overriden. 749 // An empty URL is returned if the URL is not overriden.
754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 750 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
755 return WebURL(); 751 return WebURL();
756 } 752 }
757 }; 753 };
758 754
759 } // namespace blink 755 } // namespace blink
760 756
761 #endif 757 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698