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

Side by Side Diff: chrome/renderer/render_view.h

Issue 6602039: P2P sockets IPC dispatcher for the renderer side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class WebUIBindings; 64 class WebUIBindings;
65 class ExternalHostBindings; 65 class ExternalHostBindings;
66 class FilePath; 66 class FilePath;
67 class GeolocationDispatcher; 67 class GeolocationDispatcher;
68 class GeolocationDispatcherOld; 68 class GeolocationDispatcherOld;
69 class GURL; 69 class GURL;
70 class ListValue; 70 class ListValue;
71 class LoadProgressTracker; 71 class LoadProgressTracker;
72 class NavigationState; 72 class NavigationState;
73 class NotificationProvider; 73 class NotificationProvider;
74 class P2PSocketDispatcher;
74 class PepperDeviceTest; 75 class PepperDeviceTest;
75 class PrintWebViewHelper; 76 class PrintWebViewHelper;
76 class RenderViewObserver; 77 class RenderViewObserver;
77 class RenderViewVisitor; 78 class RenderViewVisitor;
78 class SearchBox; 79 class SearchBox;
79 class SkBitmap; 80 class SkBitmap;
80 class SpeechInputDispatcher; 81 class SpeechInputDispatcher;
81 class SpellCheckProvider; 82 class SpellCheckProvider;
82 class WebPluginDelegatePepper; 83 class WebPluginDelegatePepper;
83 class WebPluginDelegateProxy; 84 class WebPluginDelegateProxy;
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 // sent to the browser. 1354 // sent to the browser.
1354 std::vector<RendererAccessibilityNotification> 1355 std::vector<RendererAccessibilityNotification>
1355 pending_accessibility_notifications_; 1356 pending_accessibility_notifications_;
1356 1357
1357 // Set if we are waiting for a accessibility notification ack. 1358 // Set if we are waiting for a accessibility notification ack.
1358 bool accessibility_ack_pending_; 1359 bool accessibility_ack_pending_;
1359 1360
1360 // Responsible for sending page load related histograms. 1361 // Responsible for sending page load related histograms.
1361 PageLoadHistograms page_load_histograms_; 1362 PageLoadHistograms page_load_histograms_;
1362 1363
1364 // Dispatches all P2P socket used by the renderer.
1365 P2PSocketDispatcher* p2p_sockets_dispatcher_;
Alpha Left Google 2011/03/02 21:56:10 nit: p2p_socket_dispatcher_
Sergey Ulanov 2011/03/02 23:56:43 Done.
1366
1363 // Misc ---------------------------------------------------------------------- 1367 // Misc ----------------------------------------------------------------------
1364 1368
1365 // The current and pending file chooser completion objects. If the queue is 1369 // The current and pending file chooser completion objects. If the queue is
1366 // nonempty, the first item represents the currently running file chooser 1370 // nonempty, the first item represents the currently running file chooser
1367 // callback, and the remaining elements are the other file chooser completion 1371 // callback, and the remaining elements are the other file chooser completion
1368 // still waiting to be run (in order). 1372 // still waiting to be run (in order).
1369 struct PendingFileChooser; 1373 struct PendingFileChooser;
1370 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1374 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
1371 1375
1372 std::queue<linked_ptr<ViewMsg_ExecuteCode_Params> > 1376 std::queue<linked_ptr<ViewMsg_ExecuteCode_Params> >
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 // bunch of stuff, you should probably create a helper class and put your 1448 // bunch of stuff, you should probably create a helper class and put your
1445 // data and methods on that to avoid bloating RenderView more. You can use 1449 // data and methods on that to avoid bloating RenderView more. You can use
1446 // the Observer interface to filter IPC messages and receive frame change 1450 // the Observer interface to filter IPC messages and receive frame change
1447 // notifications. 1451 // notifications.
1448 // --------------------------------------------------------------------------- 1452 // ---------------------------------------------------------------------------
1449 1453
1450 DISALLOW_COPY_AND_ASSIGN(RenderView); 1454 DISALLOW_COPY_AND_ASSIGN(RenderView);
1451 }; 1455 };
1452 1456
1453 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1457 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698