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

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

Issue 10412056: Browser Plugin: Remove MapInstance from BrowserPluginHost + More cross-process navigation work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed commented out code Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // no other waiting items in the queue. 256 // no other waiting items in the queue.
257 // 257 //
258 // Returns true if the chooser was successfully scheduled. False means we 258 // Returns true if the chooser was successfully scheduled. False means we
259 // didn't schedule anything. 259 // didn't schedule anything.
260 bool ScheduleFileChooser(const content::FileChooserParams& params, 260 bool ScheduleFileChooser(const content::FileChooserParams& params,
261 WebKit::WebFileChooserCompletion* completion); 261 WebKit::WebFileChooserCompletion* completion);
262 262
263 // Sets whether the renderer should report load progress to the browser. 263 // Sets whether the renderer should report load progress to the browser.
264 void SetReportLoadProgressEnabled(bool enabled); 264 void SetReportLoadProgressEnabled(bool enabled);
265 265
266 content::GuestToEmbedderChannel* 266 content::GuestToEmbedderChannel* GetGuestToEmbedderChannel() const;
267 guest_to_embedder_channel() const { return guest_to_embedder_channel_; } 267 void SetGuestToEmbedderChannel(content::GuestToEmbedderChannel* channel);
268 PP_Instance guest_pp_instance() const { return guest_pp_instance_; } 268 PP_Instance guest_pp_instance() const { return guest_pp_instance_; }
269 void set_guest_pp_instance(PP_Instance instance) {
270 guest_pp_instance_ = instance;
271 }
269 void set_guest_graphics_resource(const ppapi::HostResource& resource) { 272 void set_guest_graphics_resource(const ppapi::HostResource& resource) {
270 guest_graphics_resource_ = resource; 273 guest_graphics_resource_ = resource;
271 } 274 }
272 const ppapi::HostResource& guest_graphics_resource() const { 275 const ppapi::HostResource& guest_graphics_resource() const {
273 return guest_graphics_resource_; 276 return guest_graphics_resource_;
274 } 277 }
275 278
276 // Once the browser plugin embedder has connected to this guest, and is 279 // Once the browser plugin embedder has connected to this guest, and is
277 // ready to paint, it informs the guest through GuestReady to begin 280 // ready to paint, it informs the guest through GuestReady to begin
278 // compositing. 281 // compositing.
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 // bunch of stuff, you should probably create a helper class and put your 1398 // bunch of stuff, you should probably create a helper class and put your
1396 // data and methods on that to avoid bloating RenderView more. You can 1399 // data and methods on that to avoid bloating RenderView more. You can
1397 // use the Observer interface to filter IPC messages and receive frame change 1400 // use the Observer interface to filter IPC messages and receive frame change
1398 // notifications. 1401 // notifications.
1399 // --------------------------------------------------------------------------- 1402 // ---------------------------------------------------------------------------
1400 1403
1401 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1404 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1402 }; 1405 };
1403 1406
1404 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1407 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698