Chromium Code Reviews| Index: content/renderer/render_frame_impl.h |
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
| index ba49c52e4c9a99839cca929742f0b1f501cbc85b..4db659bc4f1570b5477661fd724d5fef70d8cf8b 100644 |
| --- a/content/renderer/render_frame_impl.h |
| +++ b/content/renderer/render_frame_impl.h |
| @@ -18,6 +18,7 @@ |
| #include "content/common/accessibility_mode_enums.h" |
| #include "content/common/frame_message_enums.h" |
| #include "content/common/mojo/service_registry_impl.h" |
| +#include "content/common/navigation_params.h" |
| #include "content/public/common/console_message_level.h" |
| #include "content/public/common/javascript_message_type.h" |
| #include "content/public/common/referrer.h" |
| @@ -219,7 +220,7 @@ class CONTENT_EXPORT RenderFrameImpl |
| // This method must be called after the frame has been added to the frame |
| // tree. It creates all objects that depend on the frame being at its proper |
| // spot. |
| - void Initialize(); |
| + void Initialize(LoFiState lofi_state = LOFI_DEFAULT); |
|
davidben
2015/08/27 18:53:50
Style: no default arguments.
https://google-styleg
megjablon
2015/08/27 23:11:02
Done.
|
| // Notifications from RenderWidget. |
| void WasHidden(); |
| @@ -1027,6 +1028,10 @@ class CONTENT_EXPORT RenderFrameImpl |
| scoped_ptr<blink::WebUSBClient> usb_client_; |
| + // Whether or not to request a LoFi version of the resource or let the browser |
| + // decide. |
|
davidben
2015/08/27 18:53:50
This is the copy of the field on the RenderFrameIm
bengr
2015/08/27 21:14:07
Agreed this can/should be a bit.
megjablon
2015/08/27 23:11:02
I don't think this can be a bit. We need this for
davidben
2015/08/31 23:43:24
That won't work anyway. Navigations are not synchr
megjablon
2015/09/02 21:25:42
So you're saying we should use CreateURLRequestfor
davidben
2015/09/04 14:41:22
I'm not super familiar with the distinctions betwe
megjablon
2015/09/09 20:54:16
@nasko can you take a look?
|
| + LoFiState lofi_state_; |
| + |
| #if defined(ENABLE_WEBVR) |
| // The VR dispatcher attached to the frame, lazily initialized. |
| scoped_ptr<VRDispatcher> vr_dispatcher_; |