mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 614d31da (#423768)
- Fix PDF extension loading after showing the plugin placeholder (issue #2020)
This commit is contained in:
@@ -6,9 +6,15 @@
|
||||
#ifndef CEF_LIBCEF_RENDERER_RENDER_THREAD_OBSERVER_H_
|
||||
#define CEF_LIBCEF_RENDERER_RENDER_THREAD_OBSERVER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "content/public/renderer/render_thread_observer.h"
|
||||
|
||||
namespace visitedlink {
|
||||
class VisitedLinkSlave;
|
||||
}
|
||||
|
||||
struct Cef_CrossOriginWhiteListEntry_Params;
|
||||
|
||||
// This class sends and receives control messages on the renderer process.
|
||||
@@ -23,6 +29,10 @@ class CefRenderThreadObserver : public content::RenderThreadObserver {
|
||||
bool OnControlMessageReceived(const IPC::Message& message) override;
|
||||
void OnRenderProcessShutdown() override;
|
||||
|
||||
visitedlink::VisitedLinkSlave* visited_link_slave() {
|
||||
return visited_link_slave_.get();
|
||||
}
|
||||
|
||||
private:
|
||||
// Message handlers called on the render thread.
|
||||
void OnSetIsIncognitoProcess(bool is_incognito_process);
|
||||
@@ -33,6 +43,8 @@ class CefRenderThreadObserver : public content::RenderThreadObserver {
|
||||
|
||||
static bool is_incognito_process_;
|
||||
|
||||
std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(CefRenderThreadObserver);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user