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

Side by Side Diff: content/browser/browser_plugin/test_browser_plugin_guest.h

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "content/browser/browser_plugin/browser_plugin_guest.h" 10 #include "content/browser/browser_plugin/browser_plugin_guest.h"
(...skipping 16 matching lines...) Expand all
27 virtual ~TestBrowserPluginGuest(); 27 virtual ~TestBrowserPluginGuest();
28 28
29 WebContentsImpl* web_contents() const; 29 WebContentsImpl* web_contents() const;
30 30
31 // NotificationObserver method override. 31 // NotificationObserver method override.
32 virtual void Observe(int type, 32 virtual void Observe(int type,
33 const NotificationSource& source, 33 const NotificationSource& source,
34 const NotificationDetails& details) OVERRIDE; 34 const NotificationDetails& details) OVERRIDE;
35 35
36 // Overridden methods from BrowserPluginGuest to intercept in test objects. 36 // Overridden methods from BrowserPluginGuest to intercept in test objects.
37 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 37 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
38 virtual void OnHandleInputEvent(int instance_id, 38 virtual void OnHandleInputEvent(int instance_id,
39 const gfx::Rect& guest_window_rect, 39 const gfx::Rect& guest_window_rect,
40 const WebKit::WebInputEvent* event) OVERRIDE; 40 const WebKit::WebInputEvent* event) OVERRIDE;
41 virtual void OnSetFocus(int instance_id, bool focused) OVERRIDE; 41 virtual void OnSetFocus(int instance_id, bool focused) OVERRIDE;
42 virtual void OnTakeFocus(bool reverse) OVERRIDE; 42 virtual void OnTakeFocus(bool reverse) OVERRIDE;
43 virtual void OnReload(int instance_id) OVERRIDE; 43 virtual void OnReload(int instance_id) OVERRIDE;
44 virtual void OnStop(int instance_id) OVERRIDE; 44 virtual void OnStop(int instance_id) OVERRIDE;
45 virtual void SetDamageBuffer( 45 virtual void SetDamageBuffer(
46 const BrowserPluginHostMsg_ResizeGuest_Params& params) OVERRIDE; 46 const BrowserPluginHostMsg_ResizeGuest_Params& params) OVERRIDE;
47 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; 47 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 scoped_refptr<MessageLoopRunner> input_message_loop_runner_; 110 scoped_refptr<MessageLoopRunner> input_message_loop_runner_;
111 scoped_refptr<MessageLoopRunner> load_stop_message_loop_runner_; 111 scoped_refptr<MessageLoopRunner> load_stop_message_loop_runner_;
112 scoped_refptr<MessageLoopRunner> auto_view_size_message_loop_runner_; 112 scoped_refptr<MessageLoopRunner> auto_view_size_message_loop_runner_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuest); 114 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuest);
115 }; 115 };
116 116
117 } // namespace content 117 } // namespace content
118 118
119 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_ 119 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/browser_plugin/test_browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698