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

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

Issue 235633002: <webview>: Move Geolocation permission to chrome layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests in Debug mode Created 6 years, 8 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 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 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
7 7
8 #include "content/public/browser/browser_plugin_guest_delegate.h" 8 #include "content/public/browser/browser_plugin_guest_delegate.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 16 matching lines...) Expand all
27 const base::string16& source_id) OVERRIDE; 27 const base::string16& source_id) OVERRIDE;
28 virtual void Close() OVERRIDE; 28 virtual void Close() OVERRIDE;
29 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; 29 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE;
30 virtual bool HandleKeyboardEvent( 30 virtual bool HandleKeyboardEvent(
31 const NativeWebKeyboardEvent& event) OVERRIDE; 31 const NativeWebKeyboardEvent& event) OVERRIDE;
32 virtual void LoadAbort(bool is_top_level, 32 virtual void LoadAbort(bool is_top_level,
33 const GURL& url, 33 const GURL& url,
34 const std::string& error_type) OVERRIDE; 34 const std::string& error_type) OVERRIDE;
35 virtual void RendererResponsive() OVERRIDE; 35 virtual void RendererResponsive() OVERRIDE;
36 virtual void RendererUnresponsive() OVERRIDE; 36 virtual void RendererUnresponsive() OVERRIDE;
37 virtual bool RequestPermission( 37 virtual void RequestPermission(
38 BrowserPluginPermissionType permission_type, 38 BrowserPluginPermissionType permission_type,
39 const base::DictionaryValue& request_info, 39 const base::DictionaryValue& request_info,
40 const PermissionResponseCallback& callback, 40 const PermissionResponseCallback& callback,
41 bool allowed_by_default) OVERRIDE; 41 bool allowed_by_default) OVERRIDE;
42 virtual void SizeChanged(const gfx::Size& old_size, 42 virtual void SizeChanged(const gfx::Size& old_size,
43 const gfx::Size& new_size) OVERRIDE; 43 const gfx::Size& new_size) OVERRIDE;
44 44
45 bool load_aborted_; 45 bool load_aborted_;
46 GURL load_aborted_url_; 46 GURL load_aborted_url_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuestDelegate); 48 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuestDelegate);
49 }; 49 };
50 50
51 } // namespace content 51 } // namespace content
52 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 52 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698