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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2892953006: WIP POC blob transport over mojo
Patch Set: pass mojo blobs over ipc Created 3 years, 7 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 // Must return non-null. 420 // Must return non-null.
421 virtual WebScrollbarBehavior* ScrollbarBehavior() { return nullptr; } 421 virtual WebScrollbarBehavior* ScrollbarBehavior() { return nullptr; }
422 422
423 // Sudden Termination -------------------------------------------------- 423 // Sudden Termination --------------------------------------------------
424 424
425 // Disable/Enable sudden termination on a process level. When possible, it 425 // Disable/Enable sudden termination on a process level. When possible, it
426 // is preferable to disable sudden termination on a per-frame level via 426 // is preferable to disable sudden termination on a per-frame level via
427 // WebFrameClient::suddenTerminationDisablerChanged. 427 // WebFrameClient::suddenTerminationDisablerChanged.
428 virtual void SuddenTerminationChanged(bool enabled) {} 428 virtual void SuddenTerminationChanged(bool enabled) {}
429 virtual void IncProcessRefCount() {}
430 virtual void DecProcessRefCount() {}
429 431
430 // System -------------------------------------------------------------- 432 // System --------------------------------------------------------------
431 433
432 // Returns a value such as "en-US". 434 // Returns a value such as "en-US".
433 virtual WebString DefaultLocale() { return WebString(); } 435 virtual WebString DefaultLocale() { return WebString(); }
434 436
435 // Returns an interface to the main thread. Can be null if blink was 437 // Returns an interface to the main thread. Can be null if blink was
436 // initialized on a thread without a message loop. 438 // initialized on a thread without a message loop.
437 WebThread* MainThread() const; 439 WebThread* MainThread() const;
438 440
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 protected: 697 protected:
696 Platform(); 698 Platform();
697 virtual ~Platform() {} 699 virtual ~Platform() {}
698 700
699 WebThread* main_thread_; 701 WebThread* main_thread_;
700 }; 702 };
701 703
702 } // namespace blink 704 } // namespace blink
703 705
704 #endif 706 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebBlobRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698