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

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

Issue 2307463007: Add instrumentation to help tracking issue 638400. (Closed)
Patch Set: Created 4 years, 3 months 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 PepperPluginSet active_pepper_instances_; 1260 PepperPluginSet active_pepper_instances_;
1261 1261
1262 // Whether or not the focus is on a PPAPI plugin 1262 // Whether or not the focus is on a PPAPI plugin
1263 PepperPluginInstanceImpl* focused_pepper_plugin_; 1263 PepperPluginInstanceImpl* focused_pepper_plugin_;
1264 1264
1265 // The plugin instance that received the last mouse event. It is set to NULL 1265 // The plugin instance that received the last mouse event. It is set to NULL
1266 // if the last mouse event went to elements other than Pepper plugins. 1266 // if the last mouse event went to elements other than Pepper plugins.
1267 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on 1267 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on
1268 // the RenderFrameImpl to NULL it out when it destructs. 1268 // the RenderFrameImpl to NULL it out when it destructs.
1269 PepperPluginInstanceImpl* pepper_last_mouse_event_target_; 1269 PepperPluginInstanceImpl* pepper_last_mouse_event_target_;
1270
1271 // TODO(lfg): Temporary to help debug issue https://crbug.com/638400.
1272 enum class CreatePluginState {
1273 NONE,
1274 UNINITIALIZED,
1275 } plugin_creation_state_;
1270 #endif 1276 #endif
1271 1277
1272 mojo::Binding<mojom::Frame> frame_binding_; 1278 mojo::Binding<mojom::Frame> frame_binding_;
1273 mojom::FrameHostPtr frame_host_; 1279 mojom::FrameHostPtr frame_host_;
1274 1280
1275 // Indicates whether |didAccessInitialDocument| was called. 1281 // Indicates whether |didAccessInitialDocument| was called.
1276 bool has_accessed_initial_document_; 1282 bool has_accessed_initial_document_;
1277 1283
1278 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1284 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1279 1285
1280 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1286 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1281 }; 1287 };
1282 1288
1283 } // namespace content 1289 } // namespace content
1284 1290
1285 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1291 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698