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

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

Issue 1488093002: autofill: save pasted passwords on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't always quit the runloop on text changes 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 void AttachGuest(int element_instance_id) override; 385 void AttachGuest(int element_instance_id) override;
386 void DetachGuest(int element_instance_id) override; 386 void DetachGuest(int element_instance_id) override;
387 void SetSelectedText(const base::string16& selection_text, 387 void SetSelectedText(const base::string16& selection_text,
388 size_t offset, 388 size_t offset,
389 const gfx::Range& range) override; 389 const gfx::Range& range) override;
390 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 390 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
391 v8::Local<v8::Context> context) override; 391 v8::Local<v8::Context> context) override;
392 void AddMessageToConsole(ConsoleMessageLevel level, 392 void AddMessageToConsole(ConsoleMessageLevel level,
393 const std::string& message) override; 393 const std::string& message) override;
394 bool IsUsingLoFi() const override; 394 bool IsUsingLoFi() const override;
395 bool IsPasting() const override;
395 396
396 // blink::WebFrameClient implementation: 397 // blink::WebFrameClient implementation:
397 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 398 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
398 const blink::WebPluginParams& params) override; 399 const blink::WebPluginParams& params) override;
399 blink::WebMediaPlayer* createMediaPlayer( 400 blink::WebMediaPlayer* createMediaPlayer(
400 blink::WebLocalFrame* frame, 401 blink::WebLocalFrame* frame,
401 const blink::WebURL& url, 402 const blink::WebURL& url,
402 blink::WebMediaPlayerClient* client, 403 blink::WebMediaPlayerClient* client,
403 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, 404 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
404 blink::WebContentDecryptionModule* initial_cdm, 405 blink::WebContentDecryptionModule* initial_cdm,
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 1091
1091 scoped_ptr<blink::WebUSBClient> usb_client_; 1092 scoped_ptr<blink::WebUSBClient> usb_client_;
1092 1093
1093 // Manages play, pause notifications for WebMediaPlayer implementations; its 1094 // Manages play, pause notifications for WebMediaPlayer implementations; its
1094 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1095 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1095 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1096 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1096 1097
1097 // Whether or not this RenderFrame is using Lo-Fi mode. 1098 // Whether or not this RenderFrame is using Lo-Fi mode.
1098 bool is_using_lofi_; 1099 bool is_using_lofi_;
1099 1100
1101 // Whether or not this RenderFrame is currently pasting.
1102 bool is_pasting_;
1103
1100 #if defined(ENABLE_WEBVR) 1104 #if defined(ENABLE_WEBVR)
1101 // The VR dispatcher attached to the frame, lazily initialized. 1105 // The VR dispatcher attached to the frame, lazily initialized.
1102 scoped_ptr<VRDispatcher> vr_dispatcher_; 1106 scoped_ptr<VRDispatcher> vr_dispatcher_;
1103 #endif 1107 #endif
1104 1108
1105 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1109 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1106 // The external popup for the currently showing select popup. 1110 // The external popup for the currently showing select popup.
1107 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1111 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1108 #endif 1112 #endif
1109 1113
1110 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1114 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1111 1115
1112 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1116 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1113 }; 1117 };
1114 1118
1115 } // namespace content 1119 } // namespace content
1116 1120
1117 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1121 #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