OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "content/browser/browser_plugin/test_browser_plugin_guest_delegate.h" | 5 #include "content/browser/browser_plugin/test_browser_plugin_guest_delegate.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 TestBrowserPluginGuestDelegate::TestBrowserPluginGuestDelegate() | 9 TestBrowserPluginGuestDelegate::TestBrowserPluginGuestDelegate() |
10 : load_aborted_(false) { | 10 : load_aborted_(false) { |
11 } | 11 } |
12 | 12 |
13 TestBrowserPluginGuestDelegate::~TestBrowserPluginGuestDelegate() { | 13 TestBrowserPluginGuestDelegate::~TestBrowserPluginGuestDelegate() { |
14 } | 14 } |
15 | 15 |
16 void TestBrowserPluginGuestDelegate::ResetStates() { | 16 void TestBrowserPluginGuestDelegate::ResetStates() { |
17 load_aborted_ = false; | 17 load_aborted_ = false; |
18 load_aborted_url_ = GURL(); | 18 load_aborted_url_ = GURL(); |
19 } | 19 } |
20 | 20 |
21 void TestBrowserPluginGuestDelegate::AddMessageToConsole( | 21 void TestBrowserPluginGuestDelegate::AddMessageToConsole( |
22 int32 level, | 22 int32 level, |
23 const string16& message, | 23 const base::string16& message, |
24 int32 line_no, | 24 int32 line_no, |
25 const string16& source_id) { | 25 const base::string16& source_id) { |
26 } | 26 } |
27 | 27 |
28 void TestBrowserPluginGuestDelegate::Close() { | 28 void TestBrowserPluginGuestDelegate::Close() { |
29 } | 29 } |
30 | 30 |
31 void TestBrowserPluginGuestDelegate::GuestProcessGone( | 31 void TestBrowserPluginGuestDelegate::GuestProcessGone( |
32 base::TerminationStatus status) { | 32 base::TerminationStatus status) { |
33 } | 33 } |
34 | 34 |
35 bool TestBrowserPluginGuestDelegate::HandleKeyboardEvent( | 35 bool TestBrowserPluginGuestDelegate::HandleKeyboardEvent( |
(...skipping 23 matching lines...) Expand all Loading... |
59 request_info, | 59 request_info, |
60 callback, | 60 callback, |
61 allowed_by_default); | 61 allowed_by_default); |
62 } | 62 } |
63 | 63 |
64 void TestBrowserPluginGuestDelegate::SizeChanged(const gfx::Size& old_size, | 64 void TestBrowserPluginGuestDelegate::SizeChanged(const gfx::Size& old_size, |
65 const gfx::Size& new_size) { | 65 const gfx::Size& new_size) { |
66 } | 66 } |
67 | 67 |
68 } // namespace content | 68 } // namespace content |
OLD | NEW |