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

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

Issue 14487003: Add a new pair of IPC categories for messages that need handling as input events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 7 years, 8 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1482 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1483 1483
1484 // The node that the context menu was pressed over. 1484 // The node that the context menu was pressed over.
1485 WebKit::WebNode context_menu_node_; 1485 WebKit::WebNode context_menu_node_;
1486 1486
1487 // All the registered observers. We expect this list to be small, so vector 1487 // All the registered observers. We expect this list to be small, so vector
1488 // is fine. 1488 // is fine.
1489 ObserverList<RenderViewObserver> observers_; 1489 ObserverList<RenderViewObserver> observers_;
1490 1490
1491 // Used to inform didChangeSelection() when it is called in the context 1491 // Used to inform didChangeSelection() when it is called in the context
1492 // of handling a ViewMsg_SelectRange IPC. 1492 // of handling a InputMsg_SelectRange IPC.
1493 bool handling_select_range_; 1493 bool handling_select_range_;
1494 1494
1495 // Wraps the |webwidget_| as a MouseLockDispatcher::LockTarget interface. 1495 // Wraps the |webwidget_| as a MouseLockDispatcher::LockTarget interface.
1496 scoped_ptr<MouseLockDispatcher::LockTarget> webwidget_mouse_lock_target_; 1496 scoped_ptr<MouseLockDispatcher::LockTarget> webwidget_mouse_lock_target_;
1497 1497
1498 // State associated with the GetWindowSnapshot function. 1498 // State associated with the GetWindowSnapshot function.
1499 int next_snapshot_id_; 1499 int next_snapshot_id_;
1500 typedef std::map<int, WindowSnapshotCallback> 1500 typedef std::map<int, WindowSnapshotCallback>
1501 PendingSnapshotMap; 1501 PendingSnapshotMap;
1502 PendingSnapshotMap pending_snapshots_; 1502 PendingSnapshotMap pending_snapshots_;
(...skipping 23 matching lines...) Expand all
1526 // use the Observer interface to filter IPC messages and receive frame change 1526 // use the Observer interface to filter IPC messages and receive frame change
1527 // notifications. 1527 // notifications.
1528 // --------------------------------------------------------------------------- 1528 // ---------------------------------------------------------------------------
1529 1529
1530 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1530 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1531 }; 1531 };
1532 1532
1533 } // namespace content 1533 } // namespace content
1534 1534
1535 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1535 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698