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

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

Issue 546263002: [ServiceWorker] Introduce isControlledByServiceWorker() in FrameLoaderClient and WebFrameClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated tkent's comment Created 6 years, 3 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 | « Source/web/FrameLoaderClientImpl.cpp ('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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 // Screen Orientation -------------------------------------------------- 559 // Screen Orientation --------------------------------------------------
560 560
561 // Access the embedder API for (client-based) screen orientation client . 561 // Access the embedder API for (client-based) screen orientation client .
562 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; } 562 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; }
563 563
564 // Accessibility ------------------------------------------------------- 564 // Accessibility -------------------------------------------------------
565 565
566 // Notifies embedder about an accessibility event. 566 // Notifies embedder about an accessibility event.
567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } 567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { }
568 568
569 // ServiceWorker -------------------------------------------------------
570
571 // Whether the frame is controlled by the ServiceWorker
572 virtual bool isControlledByServiceWorker() { return false; }
573
569 protected: 574 protected:
570 virtual ~WebFrameClient() { } 575 virtual ~WebFrameClient() { }
571 }; 576 };
572 577
573 } // namespace blink 578 } // namespace blink
574 579
575 #endif 580 #endif
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698