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

Side by Side Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 107893003: Make the renderer-side prerendering code use RenderFrames instead of RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 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 | Annotate | Revision Log
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 CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 5 #ifndef CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
7 7
8 #include "components/plugins/renderer/plugin_placeholder.h" 8 #include "components/plugins/renderer/plugin_placeholder.h"
9 9
10 struct ChromeViewHostMsg_GetPluginInfo_Status; 10 struct ChromeViewHostMsg_GetPluginInfo_Status;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #if defined(ENABLE_PLUGIN_INSTALLATION) 94 #if defined(ENABLE_PLUGIN_INSTALLATION)
95 // |routing_id()| is the routing ID of our associated RenderView, but we have 95 // |routing_id()| is the routing ID of our associated RenderView, but we have
96 // a separate routing ID for messages specific to this placeholder. 96 // a separate routing ID for messages specific to this placeholder.
97 int32 placeholder_routing_id_; 97 int32 placeholder_routing_id_;
98 #endif 98 #endif
99 99
100 bool has_host_; 100 bool has_host_;
101 int context_menu_request_id_; // Nonzero when request pending. 101 int context_menu_request_id_; // Nonzero when request pending.
102 base::string16 plugin_name_; 102 base::string16 plugin_name_;
103 103
104 // TODO(jam): remove this class, it's temporary until PluginPlaceholder is a
105 // RenderFrameObserver.
106 class RenderFrameObserver;
107 scoped_ptr<RenderFrameObserver> frame_observer_;
108
104 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); 109 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder);
105 }; 110 };
106 111
107 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 112 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698