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

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

Issue 11967013: Fixes issues when switching between software and compositing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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 "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "ui/gfx/size.h"
10 11
11 struct BrowserPluginMsg_UpdateRect_Params; 12 struct BrowserPluginMsg_UpdateRect_Params;
12 class WebCursor; 13 class WebCursor;
13 14
14 namespace gfx { 15 namespace gfx {
15 class Point; 16 class Point;
16 } 17 }
17 18
18 namespace content { 19 namespace content {
19 20
(...skipping 11 matching lines...) Expand all
31 virtual bool Send(IPC::Message* msg) OVERRIDE; 32 virtual bool Send(IPC::Message* msg) OVERRIDE;
32 33
33 // RenderViewObserver override. Call on render thread. 34 // RenderViewObserver override. Call on render thread.
34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 35 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
35 private: 36 private:
36 virtual ~BrowserPluginManagerImpl(); 37 virtual ~BrowserPluginManagerImpl();
37 38
38 void OnPluginAtPositionRequest(const IPC::Message& message, 39 void OnPluginAtPositionRequest(const IPC::Message& message,
39 int request_id, 40 int request_id,
40 const gfx::Point& position); 41 const gfx::Point& position);
42 void OnUnhandledSwap(const IPC::Message& message,
43 int instance_id,
44 const gfx::Size& size,
45 std::string mailbox_name,
46 int gpu_route_id,
47 int gpu_host_id);
41 48
42 // Returns whether a message should be forwarded to BrowserPlugins. 49 // Returns whether a message should be forwarded to BrowserPlugins.
43 static bool ShouldForwardToBrowserPlugin(const IPC::Message& message); 50 static bool ShouldForwardToBrowserPlugin(const IPC::Message& message);
44 51
45 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); 52 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl);
46 }; 53 };
47 54
48 } // namespace content 55 } // namespace content
49 56
50 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 57 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698