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

Side by Side Diff: extensions/browser/api/extensions_api_client.h

Issue 444113003: Remove dependency of chrome in GuestViewBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Denies the embedding requested by the <appview> specified by 64 // Denies the embedding requested by the <appview> specified by
65 // |guest_instance_id|. Returns true if the operation completes successfully. 65 // |guest_instance_id|. Returns true if the operation completes successfully.
66 virtual bool AppViewInternalDenyRequest( 66 virtual bool AppViewInternalDenyRequest(
67 content::BrowserContext* browser_context, 67 content::BrowserContext* browser_context,
68 int guest_instance_id, 68 int guest_instance_id,
69 const std::string& guest_extension_id); 69 const std::string& guest_extension_id);
70 70
71 // Returns the HidService instance for this embedder. 71 // Returns the HidService instance for this embedder.
72 virtual device::HidService* GetHidService(); 72 virtual device::HidService* GetHidService();
73 73
74 virtual void RegisterGuestViewType() {}
Ken Rockot(use gerrit already) 2014/08/07 22:37:40 nit: Should probably pluralize this, i.e. Register
Xi Han 2014/08/08 14:12:11 Done.
75
74 // NOTE: If this interface gains too many methods (perhaps more than 20) it 76 // NOTE: If this interface gains too many methods (perhaps more than 20) it
75 // should be split into one interface per API. 77 // should be split into one interface per API.
76 }; 78 };
77 79
78 } // namespace extensions 80 } // namespace extensions
79 81
80 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 82 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698