mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 59d44948 (#323860)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git web_contents_impl.cc web_contents_impl.cc
|
||||
index 8dd4307..e3a6baa 100644
|
||||
index 24122cd..52cd0c6 100644
|
||||
--- web_contents_impl.cc
|
||||
+++ web_contents_impl.cc
|
||||
@@ -1269,22 +1269,29 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
|
||||
@@ -1205,22 +1205,29 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
|
||||
params.browser_context, params.site_instance, params.routing_id,
|
||||
params.main_frame_routing_id);
|
||||
|
||||
@@ -48,7 +48,7 @@ index 8dd4307..e3a6baa 100644
|
||||
}
|
||||
CHECK(render_view_host_delegate_view_);
|
||||
CHECK(view_.get());
|
||||
@@ -1640,6 +1647,9 @@ void WebContentsImpl::CreateNewWindow(
|
||||
@@ -1551,6 +1558,9 @@ void WebContentsImpl::CreateNewWindow(
|
||||
static_cast<SessionStorageNamespaceImpl*>(session_storage_namespace);
|
||||
CHECK(session_storage_namespace_impl->IsFromContext(dom_storage_context));
|
||||
|
||||
@@ -58,7 +58,7 @@ index 8dd4307..e3a6baa 100644
|
||||
if (delegate_ &&
|
||||
!delegate_->ShouldCreateWebContents(this,
|
||||
route_id,
|
||||
@@ -1648,7 +1658,9 @@ void WebContentsImpl::CreateNewWindow(
|
||||
@@ -1559,7 +1569,9 @@ void WebContentsImpl::CreateNewWindow(
|
||||
params.frame_name,
|
||||
params.target_url,
|
||||
partition_id,
|
||||
@@ -69,7 +69,7 @@ index 8dd4307..e3a6baa 100644
|
||||
if (route_id != MSG_ROUTING_NONE &&
|
||||
!RenderViewHost::FromID(render_process_id, route_id)) {
|
||||
// If the embedder didn't create a WebContents for this route, we need to
|
||||
@@ -1668,6 +1680,8 @@ void WebContentsImpl::CreateNewWindow(
|
||||
@@ -1579,6 +1591,8 @@ void WebContentsImpl::CreateNewWindow(
|
||||
create_params.main_frame_routing_id = main_frame_route_id;
|
||||
create_params.opener = this;
|
||||
create_params.opener_suppressed = params.opener_suppressed;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git common.gypi common.gypi
|
||||
index e32eae2..46c355a 100644
|
||||
index dccdfec..65b9540 100644
|
||||
--- common.gypi
|
||||
+++ common.gypi
|
||||
@@ -9,6 +9,9 @@
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git ui/browser.cc ui/browser.cc
|
||||
index 21e292e..074b41e 100644
|
||||
index 50b6506..cc6a201 100644
|
||||
--- ui/browser.cc
|
||||
+++ ui/browser.cc
|
||||
@@ -1596,7 +1596,9 @@ bool Browser::ShouldCreateWebContents(
|
||||
@@ -1592,7 +1592,9 @@ bool Browser::ShouldCreateWebContents(
|
||||
const base::string16& frame_name,
|
||||
const GURL& target_url,
|
||||
const std::string& partition_id,
|
||||
@@ -14,10 +14,10 @@ index 21e292e..074b41e 100644
|
||||
// If a BackgroundContents is created, suppress the normal WebContents.
|
||||
return !MaybeCreateBackgroundContents(route_id,
|
||||
diff --git ui/browser.h ui/browser.h
|
||||
index fcb711c..5a59434 100644
|
||||
index 49c3962..4fac697 100644
|
||||
--- ui/browser.h
|
||||
+++ ui/browser.h
|
||||
@@ -588,7 +588,9 @@ class Browser : public TabStripModelObserver,
|
||||
@@ -587,7 +587,9 @@ class Browser : public TabStripModelObserver,
|
||||
const base::string16& frame_name,
|
||||
const GURL& target_url,
|
||||
const std::string& partition_id,
|
||||
|
@@ -1,26 +1,19 @@
|
||||
diff --git pepper_flash.cc pepper_flash.cc
|
||||
index b21d4d1..11fac76 100644
|
||||
index da1c00d..f96c17d 100644
|
||||
--- pepper_flash.cc
|
||||
+++ pepper_flash.cc
|
||||
@@ -117,6 +117,14 @@ bool CheckPepperFlashManifest(const base::DictionaryValue& manifest,
|
||||
if (os != kPepperFlashOperatingSystem)
|
||||
return false;
|
||||
@@ -119,8 +119,15 @@ bool CheckPepperFlashManifest(const base::DictionaryValue& manifest,
|
||||
|
||||
std::string arch;
|
||||
manifest.GetStringASCII("x-ppapi-arch", &arch);
|
||||
+#if defined(OS_MACOSX)
|
||||
+ // On Mac newer versions of the plugin are a universal binary and use "mac"
|
||||
+ // as the value.
|
||||
+ std::string arch;
|
||||
+ manifest.GetStringASCII("x-ppapi-arch", &arch);
|
||||
+ if (arch != kPepperFlashArch && arch != kPepperFlashOperatingSystem)
|
||||
+ return false;
|
||||
+#else
|
||||
// On Win64, PepperFlash manifests have "ia32" instead of "x64" so skip the
|
||||
// architecture check. TODO(wfh): remove this when crbug.com/458894 is fixed.
|
||||
#if !defined(OS_WIN) || !defined(ARCH_CPU_X86_64)
|
||||
@@ -125,6 +133,7 @@ bool CheckPepperFlashManifest(const base::DictionaryValue& manifest,
|
||||
if (arch != kPepperFlashArch)
|
||||
return false;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
*version_out = version;
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git content/browser/compositor/gpu_process_transport_factory.cc content/browser/compositor/gpu_process_transport_factory.cc
|
||||
index dfb1041..4a4b14d 100644
|
||||
index 4fc6a67..ed42b09 100644
|
||||
--- content/browser/compositor/gpu_process_transport_factory.cc
|
||||
+++ content/browser/compositor/gpu_process_transport_factory.cc
|
||||
@@ -100,6 +100,13 @@ GpuProcessTransportFactory::CreateOffscreenCommandBufferContext() {
|
||||
@@ -130,6 +130,13 @@ GpuProcessTransportFactory::CreateOffscreenCommandBufferContext() {
|
||||
|
||||
scoped_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice(
|
||||
ui::Compositor* compositor) {
|
||||
@@ -17,19 +17,19 @@ index dfb1041..4a4b14d 100644
|
||||
return scoped_ptr<cc::SoftwareOutputDevice>(new SoftwareOutputDeviceWin(
|
||||
compositor));
|
||||
diff --git ui/compositor/compositor.h ui/compositor/compositor.h
|
||||
index 3a3e4cc..9fed916 100644
|
||||
index 5a6d932..07bd025 100644
|
||||
--- ui/compositor/compositor.h
|
||||
+++ ui/compositor/compositor.h
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "base/observer_list.h"
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "base/single_thread_task_runner.h"
|
||||
#include "base/time/time.h"
|
||||
#include "cc/output/begin_frame_args.h"
|
||||
+#include "cc/output/software_output_device.h"
|
||||
#include "cc/surfaces/surface_sequence.h"
|
||||
#include "cc/trees/layer_tree_host_client.h"
|
||||
#include "cc/trees/layer_tree_host_single_thread_client.h"
|
||||
@@ -132,6 +133,17 @@ class COMPOSITOR_EXPORT CompositorLock
|
||||
DISALLOW_COPY_AND_ASSIGN(CompositorLock);
|
||||
@@ -145,6 +146,17 @@ class COMPOSITOR_EXPORT CompositorBeginFrameObserver {
|
||||
virtual void OnSendBeginFrame(const cc::BeginFrameArgs& args) = 0;
|
||||
};
|
||||
|
||||
+class COMPOSITOR_EXPORT CompositorDelegate {
|
||||
@@ -46,7 +46,7 @@ index 3a3e4cc..9fed916 100644
|
||||
// Compositor object to take care of GPU painting.
|
||||
// A Browser compositor object is responsible for generating the final
|
||||
// displayable form of pixels comprising a single widget's contents. It draws an
|
||||
@@ -153,6 +165,9 @@ class COMPOSITOR_EXPORT Compositor
|
||||
@@ -166,6 +178,9 @@ class COMPOSITOR_EXPORT Compositor
|
||||
// Schedules a redraw of the layer tree associated with this compositor.
|
||||
void ScheduleDraw();
|
||||
|
||||
@@ -56,7 +56,7 @@ index 3a3e4cc..9fed916 100644
|
||||
// Sets the root of the layer tree drawn by this Compositor. The root layer
|
||||
// must have no parent. The compositor's root layer is reset if the root layer
|
||||
// is destroyed. NULL can be passed to reset the root layer, in which case the
|
||||
@@ -305,6 +320,8 @@ class COMPOSITOR_EXPORT Compositor
|
||||
@@ -322,6 +337,8 @@ class COMPOSITOR_EXPORT Compositor
|
||||
|
||||
ui::ContextFactory* context_factory_;
|
||||
|
||||
|
@@ -19,7 +19,7 @@ index 6e66fe3..32957fc 100644
|
||||
bool ContentRendererClient::ShouldFork(blink::WebFrame* frame,
|
||||
const GURL& url,
|
||||
diff --git public/renderer/content_renderer_client.h public/renderer/content_renderer_client.h
|
||||
index 45176ab..07de846 100644
|
||||
index ca4d51d..5df0485 100644
|
||||
--- public/renderer/content_renderer_client.h
|
||||
+++ public/renderer/content_renderer_client.h
|
||||
@@ -193,7 +193,6 @@ class CONTENT_EXPORT ContentRendererClient {
|
||||
@@ -39,10 +39,10 @@ index 45176ab..07de846 100644
|
||||
// Returns true if we should fork a new process for the given navigation.
|
||||
// If |send_referrer| is set to false (which is the default), no referrer
|
||||
diff --git renderer/render_frame_impl.cc renderer/render_frame_impl.cc
|
||||
index 88c7bd4..70122f8 100644
|
||||
index 88b26d2..07ed0cb 100644
|
||||
--- renderer/render_frame_impl.cc
|
||||
+++ renderer/render_frame_impl.cc
|
||||
@@ -4006,7 +4006,6 @@ void RenderFrameImpl::OnCommitNavigation(
|
||||
@@ -4076,7 +4076,6 @@ void RenderFrameImpl::OnCommitNavigation(
|
||||
WebNavigationPolicy RenderFrameImpl::DecidePolicyForNavigation(
|
||||
RenderFrame* render_frame,
|
||||
const NavigationPolicyInfo& info) {
|
||||
@@ -50,7 +50,7 @@ index 88c7bd4..70122f8 100644
|
||||
// The handlenavigation API is deprecated and will be removed once
|
||||
// crbug.com/325351 is resolved.
|
||||
if (info.urlRequest.url() != GURL(kSwappedOutURL) &&
|
||||
@@ -4021,7 +4020,6 @@ WebNavigationPolicy RenderFrameImpl::DecidePolicyForNavigation(
|
||||
@@ -4091,7 +4090,6 @@ WebNavigationPolicy RenderFrameImpl::DecidePolicyForNavigation(
|
||||
info.isRedirect)) {
|
||||
return blink::WebNavigationPolicyIgnore;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git resource_ids resource_ids
|
||||
index a64ae83..b32c534 100644
|
||||
index a0c369d..bea28d8 100644
|
||||
--- resource_ids
|
||||
+++ resource_ids
|
||||
@@ -14,6 +14,12 @@
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git gyp/generator/ninja.py gyp/generator/ninja.py
|
||||
index 09df83f..f2f7cd1 100644
|
||||
index 6823f4f..e8ee2b7 100644
|
||||
--- gyp/generator/ninja.py
|
||||
+++ gyp/generator/ninja.py
|
||||
@@ -738,7 +738,16 @@ class NinjaWriter(object):
|
||||
@@ -741,7 +741,16 @@ class NinjaWriter(object):
|
||||
for path in copy['files']:
|
||||
# Normalize the path so trailing slashes don't confuse us.
|
||||
path = os.path.normpath(path)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git message_loop.cc message_loop.cc
|
||||
index daa7782..6fea3c2 100644
|
||||
index eb0f968..1852eb1 100644
|
||||
--- message_loop.cc
|
||||
+++ message_loop.cc
|
||||
@@ -152,12 +152,6 @@ MessageLoop::MessageLoop(scoped_ptr<MessagePump> pump)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git url_request.h url_request.h
|
||||
index 1623368..16d292d 100644
|
||||
index e623c20..c6c9058 100644
|
||||
--- url_request.h
|
||||
+++ url_request.h
|
||||
@@ -609,10 +609,10 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
||||
@@ -608,10 +608,10 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
||||
return proxy_server_;
|
||||
}
|
||||
|
||||
|
@@ -35,10 +35,10 @@ index 8d25487..23b25ae 100644
|
||||
bool slimming_paint_enabled;
|
||||
|
||||
diff --git renderer/render_view_impl.cc renderer/render_view_impl.cc
|
||||
index 3f0f76f..bf84bdb 100644
|
||||
index c9cbd66..8124639 100644
|
||||
--- renderer/render_view_impl.cc
|
||||
+++ renderer/render_view_impl.cc
|
||||
@@ -940,6 +940,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
|
||||
@@ -932,6 +932,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
|
||||
|
||||
settings->setJavaEnabled(prefs.java_enabled);
|
||||
|
||||
|
@@ -52,10 +52,10 @@ index 4380412..a67739d 100644
|
||||
|
||||
// Creates a new WebContents.
|
||||
diff --git web_contents_delegate.cc web_contents_delegate.cc
|
||||
index 461927c..2217377 100644
|
||||
index 0e48d7c..aa46ad9 100644
|
||||
--- web_contents_delegate.cc
|
||||
+++ web_contents_delegate.cc
|
||||
@@ -137,7 +137,9 @@ bool WebContentsDelegate::ShouldCreateWebContents(
|
||||
@@ -133,7 +133,9 @@ bool WebContentsDelegate::ShouldCreateWebContents(
|
||||
const base::string16& frame_name,
|
||||
const GURL& target_url,
|
||||
const std::string& partition_id,
|
||||
@@ -67,7 +67,7 @@ index 461927c..2217377 100644
|
||||
}
|
||||
|
||||
diff --git web_contents_delegate.h web_contents_delegate.h
|
||||
index d88b27c..fefbed2 100644
|
||||
index 1367f0b..7da1128 100644
|
||||
--- web_contents_delegate.h
|
||||
+++ web_contents_delegate.h
|
||||
@@ -36,9 +36,11 @@ class DownloadItem;
|
||||
@@ -82,7 +82,7 @@ index d88b27c..fefbed2 100644
|
||||
struct ColorSuggestion;
|
||||
struct ContextMenuParams;
|
||||
struct DropData;
|
||||
@@ -314,7 +316,9 @@ class CONTENT_EXPORT WebContentsDelegate {
|
||||
@@ -294,7 +296,9 @@ class CONTENT_EXPORT WebContentsDelegate {
|
||||
const base::string16& frame_name,
|
||||
const GURL& target_url,
|
||||
const std::string& partition_id,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git render_process_host_impl.cc render_process_host_impl.cc
|
||||
index 4152ce2..9e235d3 100644
|
||||
index 91dd8b3..3cba806 100644
|
||||
--- render_process_host_impl.cc
|
||||
+++ render_process_host_impl.cc
|
||||
@@ -2084,6 +2084,8 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
||||
@@ -2089,6 +2089,8 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
||||
#endif
|
||||
RemoveUserData(kSessionStorageHolderKey);
|
||||
|
||||
@@ -11,7 +11,7 @@ index 4152ce2..9e235d3 100644
|
||||
IDMap<IPC::Listener>::iterator iter(&listeners_);
|
||||
while (!iter.IsAtEnd()) {
|
||||
iter.GetCurrentValue()->OnMessageReceived(
|
||||
@@ -2093,8 +2095,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
||||
@@ -2098,8 +2100,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
||||
iter.Advance();
|
||||
}
|
||||
|
||||
|
@@ -12,10 +12,10 @@ index a8e088c..838b6a0 100644
|
||||
return host ? host->GetAcceleratedWidget() : NULL;
|
||||
}
|
||||
diff --git desktop_aura/desktop_window_tree_host_win.cc desktop_aura/desktop_window_tree_host_win.cc
|
||||
index b54a643..5a589e5 100644
|
||||
index b53fc7f..0b24d2a 100644
|
||||
--- desktop_aura/desktop_window_tree_host_win.cc
|
||||
+++ desktop_aura/desktop_window_tree_host_win.cc
|
||||
@@ -133,7 +133,9 @@ void DesktopWindowTreeHostWin::Init(aura::Window* content_window,
|
||||
@@ -134,7 +134,9 @@ void DesktopWindowTreeHostWin::Init(aura::Window* content_window,
|
||||
native_widget_delegate_);
|
||||
|
||||
HWND parent_hwnd = NULL;
|
||||
@@ -26,7 +26,7 @@ index b54a643..5a589e5 100644
|
||||
parent_hwnd = params.parent->GetHost()->GetAcceleratedWidget();
|
||||
|
||||
message_handler_->set_remove_standard_frame(params.remove_standard_frame);
|
||||
@@ -820,6 +822,7 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
|
||||
@@ -821,6 +823,7 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
|
||||
|
||||
void DesktopWindowTreeHostWin::HandleNativeFocus(HWND last_focused_window) {
|
||||
// TODO(beng): inform the native_widget_delegate_.
|
||||
@@ -34,7 +34,7 @@ index b54a643..5a589e5 100644
|
||||
InputMethod* input_method = GetInputMethod();
|
||||
if (input_method)
|
||||
input_method->OnFocus();
|
||||
@@ -827,6 +830,7 @@ void DesktopWindowTreeHostWin::HandleNativeFocus(HWND last_focused_window) {
|
||||
@@ -828,6 +831,7 @@ void DesktopWindowTreeHostWin::HandleNativeFocus(HWND last_focused_window) {
|
||||
|
||||
void DesktopWindowTreeHostWin::HandleNativeBlur(HWND focused_window) {
|
||||
// TODO(beng): inform the native_widget_delegate_.
|
||||
@@ -153,26 +153,26 @@ index 94d4b1b..2609f46 100644
|
||||
};
|
||||
|
||||
diff --git widget.cc widget.cc
|
||||
index 15b810a..2f01d9e 100644
|
||||
index 8893d8c..e517828 100644
|
||||
--- widget.cc
|
||||
+++ widget.cc
|
||||
@@ -110,6 +110,7 @@ Widget::InitParams::InitParams()
|
||||
@@ -111,6 +111,7 @@ Widget::InitParams::InitParams()
|
||||
use_system_default_icon(false),
|
||||
show_state(ui::SHOW_STATE_DEFAULT),
|
||||
parent(NULL),
|
||||
+ parent_widget(gfx::kNullAcceleratedWidget),
|
||||
native_widget(NULL),
|
||||
desktop_window_tree_host(NULL),
|
||||
layer_type(aura::WINDOW_LAYER_TEXTURED),
|
||||
@@ -133,6 +134,7 @@ Widget::InitParams::InitParams(Type type)
|
||||
layer_type(ui::LAYER_TEXTURED),
|
||||
@@ -134,6 +135,7 @@ Widget::InitParams::InitParams(Type type)
|
||||
use_system_default_icon(false),
|
||||
show_state(ui::SHOW_STATE_DEFAULT),
|
||||
parent(NULL),
|
||||
+ parent_widget(gfx::kNullAcceleratedWidget),
|
||||
native_widget(NULL),
|
||||
desktop_window_tree_host(NULL),
|
||||
layer_type(aura::WINDOW_LAYER_TEXTURED),
|
||||
@@ -307,7 +309,7 @@ void Widget::Init(const InitParams& in_params) {
|
||||
layer_type(ui::LAYER_TEXTURED),
|
||||
@@ -308,7 +310,7 @@ void Widget::Init(const InitParams& in_params) {
|
||||
InitParams params = in_params;
|
||||
|
||||
params.child |= (params.type == InitParams::TYPE_CONTROL);
|
||||
@@ -181,7 +181,7 @@ index 15b810a..2f01d9e 100644
|
||||
|
||||
if (params.opacity == views::Widget::InitParams::INFER_OPACITY &&
|
||||
params.type != views::Widget::InitParams::TYPE_WINDOW &&
|
||||
@@ -370,7 +372,12 @@ void Widget::Init(const InitParams& in_params) {
|
||||
@@ -371,7 +373,12 @@ void Widget::Init(const InitParams& in_params) {
|
||||
Minimize();
|
||||
} else if (params.delegate) {
|
||||
SetContentsView(params.delegate->GetContentsView());
|
||||
@@ -196,10 +196,10 @@ index 15b810a..2f01d9e 100644
|
||||
// This must come after SetContentsView() or it might not be able to find
|
||||
// the correct NativeTheme (on Linux). See http://crbug.com/384492
|
||||
diff --git widget.h widget.h
|
||||
index 2f6030b..fdf4172 100644
|
||||
index 59e7b1d..bf888d7 100644
|
||||
--- widget.h
|
||||
+++ widget.h
|
||||
@@ -235,6 +235,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
||||
@@ -234,6 +234,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
||||
// Whether the widget should be maximized or minimized.
|
||||
ui::WindowShowState show_state;
|
||||
gfx::NativeView parent;
|
||||
|
@@ -1,8 +1,8 @@
|
||||
diff --git Source/web/ChromeClientImpl.cpp Source/web/ChromeClientImpl.cpp
|
||||
index 2565230..31a838f 100644
|
||||
index 606a744..4003e49 100644
|
||||
--- Source/web/ChromeClientImpl.cpp
|
||||
+++ Source/web/ChromeClientImpl.cpp
|
||||
@@ -735,7 +735,7 @@ bool ChromeClientImpl::hasOpenedPopup() const
|
||||
@@ -775,7 +775,7 @@ bool ChromeClientImpl::hasOpenedPopup() const
|
||||
|
||||
PassRefPtrWillBeRawPtr<PopupMenu> ChromeClientImpl::createPopupMenu(LocalFrame& frame, PopupMenuClient* client)
|
||||
{
|
||||
@@ -12,10 +12,10 @@ index 2565230..31a838f 100644
|
||||
|
||||
if (RuntimeEnabledFeatures::htmlPopupMenuEnabled() && RuntimeEnabledFeatures::pagePopupEnabled())
|
||||
diff --git Source/web/WebViewImpl.cpp Source/web/WebViewImpl.cpp
|
||||
index 14c0dbf..0943bf2 100644
|
||||
index aa9c0c5..9f14208 100644
|
||||
--- Source/web/WebViewImpl.cpp
|
||||
+++ Source/web/WebViewImpl.cpp
|
||||
@@ -395,6 +395,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
||||
@@ -396,6 +396,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
||||
, m_fakePageScaleAnimationPageScaleFactor(0)
|
||||
, m_fakePageScaleAnimationUseAnchor(false)
|
||||
, m_contextMenuAllowed(false)
|
||||
@@ -23,7 +23,7 @@ index 14c0dbf..0943bf2 100644
|
||||
, m_doingDragAndDrop(false)
|
||||
, m_ignoreInputEvents(false)
|
||||
, m_compositorDeviceScaleFactorOverride(0)
|
||||
@@ -4140,9 +4141,14 @@ void WebViewImpl::pageScaleFactorChanged()
|
||||
@@ -4036,9 +4037,14 @@ void WebViewImpl::pageScaleFactorChanged()
|
||||
m_client->pageScaleFactorChanged();
|
||||
}
|
||||
|
||||
@@ -40,10 +40,10 @@ index 14c0dbf..0943bf2 100644
|
||||
|
||||
void WebViewImpl::startDragging(LocalFrame* frame,
|
||||
diff --git Source/web/WebViewImpl.h Source/web/WebViewImpl.h
|
||||
index 4c6e0a3..47b934b 100644
|
||||
index cf3f40e..f6acc16 100644
|
||||
--- Source/web/WebViewImpl.h
|
||||
+++ Source/web/WebViewImpl.h
|
||||
@@ -401,7 +401,8 @@ public:
|
||||
@@ -394,7 +394,8 @@ public:
|
||||
|
||||
// Returns true if popup menus should be rendered by the browser, false if
|
||||
// they should be rendered by WebKit (which is the default).
|
||||
@@ -53,7 +53,7 @@ index 4c6e0a3..47b934b 100644
|
||||
|
||||
bool contextMenuAllowed() const
|
||||
{
|
||||
@@ -704,6 +705,8 @@ private:
|
||||
@@ -688,6 +689,8 @@ private:
|
||||
|
||||
bool m_contextMenuAllowed;
|
||||
|
||||
@@ -63,10 +63,10 @@ index 4c6e0a3..47b934b 100644
|
||||
|
||||
bool m_ignoreInputEvents;
|
||||
diff --git public/web/WebView.h public/web/WebView.h
|
||||
index 20aeff9..0eeda6e 100644
|
||||
index a7e9f99..f671362 100644
|
||||
--- public/web/WebView.h
|
||||
+++ public/web/WebView.h
|
||||
@@ -402,6 +402,7 @@ public:
|
||||
@@ -403,6 +403,7 @@ public:
|
||||
|
||||
// Sets whether select popup menus should be rendered by the browser.
|
||||
BLINK_EXPORT static void setUseExternalPopupMenus(bool);
|
||||
|
Reference in New Issue
Block a user