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

Side by Side Diff: content/renderer/browser_plugin/mock_browser_plugin_manager.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_MOCK_BROWSER_PLUGIN_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_
7 7
8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 protected: 33 protected:
34 virtual ~MockBrowserPluginManager(); 34 virtual ~MockBrowserPluginManager();
35 void AllocateInstanceIDACK(BrowserPlugin* browser_plugin, 35 void AllocateInstanceIDACK(BrowserPlugin* browser_plugin,
36 int guest_instance_id); 36 int guest_instance_id);
37 37
38 IPC::TestSink sink_; 38 IPC::TestSink sink_;
39 39
40 // The last known good deserializer for sync messages. 40 // The last known good deserializer for sync messages.
41 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; 41 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
42 42
43 int browser_plugin_instance_id_counter_;
44 int guest_instance_id_counter_; 43 int guest_instance_id_counter_;
45 44
46 DISALLOW_COPY_AND_ASSIGN(MockBrowserPluginManager); 45 DISALLOW_COPY_AND_ASSIGN(MockBrowserPluginManager);
47 }; 46 };
48 47
49 } // namespace content 48 } // namespace content
50 49
51 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ 50 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin.cc ('k') | content/renderer/browser_plugin/mock_browser_plugin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698