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

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

Issue 2338623004: Add Blink setting to block doc.written scripts on 2g-like networks (Closed)
Patch Set: Nit Created 4 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
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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 // The frame's theme color has changed. 362 // The frame's theme color has changed.
363 virtual void didChangeThemeColor() { } 363 virtual void didChangeThemeColor() { }
364 364
365 // Called to dispatch a load event for this frame in the FrameOwner of an 365 // Called to dispatch a load event for this frame in the FrameOwner of an
366 // out-of-process parent frame. 366 // out-of-process parent frame.
367 virtual void dispatchLoad() { } 367 virtual void dispatchLoad() { }
368 368
369 // Returns the effective connection type when the frame was fetched. 369 // Returns the effective connection type when the frame was fetched.
370 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 370 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
371 371 virtual void setEffectiveConnectionTypeOverride(blink::WebEffectiveConnectio nType) {}
372 virtual void clearEffectiveConnectionTypeOverride() {}
372 373
373 // Push API --------------------------------------------------- 374 // Push API ---------------------------------------------------
374 375
375 // Used to access the embedder for the Push API. 376 // Used to access the embedder for the Push API.
376 virtual WebPushClient* pushClient() { return 0; } 377 virtual WebPushClient* pushClient() { return 0; }
377 378
378 379
379 // Presentation API ---------------------------------------------------- 380 // Presentation API ----------------------------------------------------
380 381
381 // Used to access the embedder for the Presentation API. 382 // Used to access the embedder for the Presentation API.
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 return WebURL(); 695 return WebURL();
695 } 696 }
696 697
697 protected: 698 protected:
698 virtual ~WebFrameClient() { } 699 virtual ~WebFrameClient() { }
699 }; 700 };
700 701
701 } // namespace blink 702 } // namespace blink
702 703
703 #endif 704 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698