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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1537003002: autofill: save pasted passwords on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years 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
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 void AttachGuest(int element_instance_id) override; 383 void AttachGuest(int element_instance_id) override;
384 void DetachGuest(int element_instance_id) override; 384 void DetachGuest(int element_instance_id) override;
385 void SetSelectedText(const base::string16& selection_text, 385 void SetSelectedText(const base::string16& selection_text,
386 size_t offset, 386 size_t offset,
387 const gfx::Range& range) override; 387 const gfx::Range& range) override;
388 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 388 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
389 v8::Local<v8::Context> context) override; 389 v8::Local<v8::Context> context) override;
390 void AddMessageToConsole(ConsoleMessageLevel level, 390 void AddMessageToConsole(ConsoleMessageLevel level,
391 const std::string& message) override; 391 const std::string& message) override;
392 bool IsUsingLoFi() const override; 392 bool IsUsingLoFi() const override;
393 bool IsPasting() const override;
393 394
394 // blink::WebFrameClient implementation: 395 // blink::WebFrameClient implementation:
395 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 396 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
396 const blink::WebPluginParams& params) override; 397 const blink::WebPluginParams& params) override;
397 blink::WebMediaPlayer* createMediaPlayer( 398 blink::WebMediaPlayer* createMediaPlayer(
398 blink::WebLocalFrame* frame, 399 blink::WebLocalFrame* frame,
399 const blink::WebURL& url, 400 const blink::WebURL& url,
400 blink::WebMediaPlayerClient* client, 401 blink::WebMediaPlayerClient* client,
401 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, 402 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
402 blink::WebContentDecryptionModule* initial_cdm, 403 blink::WebContentDecryptionModule* initial_cdm,
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 1085
1085 scoped_ptr<blink::WebUSBClient> usb_client_; 1086 scoped_ptr<blink::WebUSBClient> usb_client_;
1086 1087
1087 // Manages play, pause notifications for WebMediaPlayer implementations; its 1088 // Manages play, pause notifications for WebMediaPlayer implementations; its
1088 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1089 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1089 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1090 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1090 1091
1091 // Whether or not this RenderFrame is using Lo-Fi mode. 1092 // Whether or not this RenderFrame is using Lo-Fi mode.
1092 bool is_using_lofi_; 1093 bool is_using_lofi_;
1093 1094
1095 // Whether or not this RenderFrame is currently pasting.
1096 bool is_pasting_;
1097
1094 #if defined(ENABLE_WEBVR) 1098 #if defined(ENABLE_WEBVR)
1095 // The VR dispatcher attached to the frame, lazily initialized. 1099 // The VR dispatcher attached to the frame, lazily initialized.
1096 scoped_ptr<VRDispatcher> vr_dispatcher_; 1100 scoped_ptr<VRDispatcher> vr_dispatcher_;
1097 #endif 1101 #endif
1098 1102
1099 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1103 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1100 // The external popup for the currently showing select popup. 1104 // The external popup for the currently showing select popup.
1101 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1105 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1102 #endif 1106 #endif
1103 1107
1104 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1108 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1105 1109
1106 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1110 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1107 }; 1111 };
1108 1112
1109 } // namespace content 1113 } // namespace content
1110 1114
1111 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1115 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698