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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_manager_impl.h

Issue 21930006: <webview>: Allocate the view instance ID from the WebView shim (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 4 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 (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_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
7 7
8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h"
9 #include "ui/gfx/size.h" 9 #include "ui/gfx/size.h"
10 10
(...skipping 27 matching lines...) Expand all
38 private: 38 private:
39 virtual ~BrowserPluginManagerImpl(); 39 virtual ~BrowserPluginManagerImpl();
40 40
41 void OnAllocateInstanceIDACK(const IPC::Message& message, 41 void OnAllocateInstanceIDACK(const IPC::Message& message,
42 int request_id, 42 int request_id,
43 int guest_instance_id); 43 int guest_instance_id);
44 void OnPluginAtPositionRequest(const IPC::Message& message, 44 void OnPluginAtPositionRequest(const IPC::Message& message,
45 int request_id, 45 int request_id,
46 const gfx::Point& position); 46 const gfx::Point& position);
47 47
48 int browser_plugin_instance_id_counter_; 48 int request_id_counter_;
49 IDMap<BrowserPlugin> pending_allocate_guest_instance_id_requests_; 49 IDMap<BrowserPlugin> pending_allocate_guest_instance_id_requests_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); 51 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl);
52 }; 52 };
53 53
54 } // namespace content 54 } // namespace content
55 55
56 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 56 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698