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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 572633003: Enable webview tag in webui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix object-src Created 6 years, 3 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_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Set the zoom factor. 73 // Set the zoom factor.
74 void SetZoom(double zoom_factor); 74 void SetZoom(double zoom_factor);
75 75
76 // GuestViewBase implementation. 76 // GuestViewBase implementation.
77 virtual const char* GetAPINamespace() const OVERRIDE; 77 virtual const char* GetAPINamespace() const OVERRIDE;
78 virtual int GetTaskPrefix() const OVERRIDE; 78 virtual int GetTaskPrefix() const OVERRIDE;
79 virtual void CreateWebContents( 79 virtual void CreateWebContents(
80 const std::string& embedder_extension_id, 80 const std::string& embedder_extension_id,
81 int embedder_render_process_id, 81 int embedder_render_process_id,
82 const GURL& embedder_site_url,
82 const base::DictionaryValue& create_params, 83 const base::DictionaryValue& create_params,
83 const WebContentsCreatedCallback& callback) OVERRIDE; 84 const WebContentsCreatedCallback& callback) OVERRIDE;
84 virtual void DidAttachToEmbedder() OVERRIDE; 85 virtual void DidAttachToEmbedder() OVERRIDE;
85 virtual void DidInitialize() OVERRIDE; 86 virtual void DidInitialize() OVERRIDE;
86 virtual void DidStopLoading() OVERRIDE; 87 virtual void DidStopLoading() OVERRIDE;
87 virtual void EmbedderDestroyed() OVERRIDE; 88 virtual void EmbedderDestroyed() OVERRIDE;
88 virtual void GuestDestroyed() OVERRIDE; 89 virtual void GuestDestroyed() OVERRIDE;
89 virtual void GuestReady() OVERRIDE; 90 virtual void GuestReady() OVERRIDE;
90 virtual void GuestSizeChangedDueToAutoSize( 91 virtual void GuestSizeChangedDueToAutoSize(
91 const gfx::Size& old_size, 92 const gfx::Size& old_size,
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 346
346 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; 347 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap;
347 PendingWindowMap pending_new_windows_; 348 PendingWindowMap pending_new_windows_;
348 349
349 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 350 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
350 }; 351 };
351 352
352 } // namespace extensions 353 } // namespace extensions
353 354
354 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 355 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698