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

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

Issue 670173002: Fix webrequest api for webview in webui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped_refptr not testable Created 6 years, 1 month 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const char* GetAPINamespace() const override; 87 const char* GetAPINamespace() const override;
88 int GetTaskPrefix() const override; 88 int GetTaskPrefix() const override;
89 void CreateWebContents(const std::string& embedder_extension_id, 89 void CreateWebContents(const std::string& embedder_extension_id,
90 int embedder_render_process_id, 90 int embedder_render_process_id,
91 const GURL& embedder_site_url, 91 const GURL& embedder_site_url,
92 const base::DictionaryValue& create_params, 92 const base::DictionaryValue& create_params,
93 const WebContentsCreatedCallback& callback) override; 93 const WebContentsCreatedCallback& callback) override;
94 void DidAttachToEmbedder() override; 94 void DidAttachToEmbedder() override;
95 void DidInitialize() override; 95 void DidInitialize() override;
96 void DidStopLoading() override; 96 void DidStopLoading() override;
97 void EmbedderDestroyed() override; 97 void EmbedderWillBeDestroyed() override;
98 void GuestDestroyed() override; 98 void GuestDestroyed() override;
99 void GuestReady() override; 99 void GuestReady() override;
100 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, 100 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size,
101 const gfx::Size& new_size) override; 101 const gfx::Size& new_size) override;
102 bool IsAutoSizeSupported() const override; 102 bool IsAutoSizeSupported() const override;
103 bool IsDragAndDropEnabled() const override; 103 bool IsDragAndDropEnabled() const override;
104 void WillAttachToEmbedder() override; 104 void WillAttachToEmbedder() override;
105 void WillDestroy() override; 105 void WillDestroy() override;
106 106
107 // WebContentsDelegate implementation. 107 // WebContentsDelegate implementation.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 // This is used to ensure pending tasks will not fire after this object is 365 // This is used to ensure pending tasks will not fire after this object is
366 // destroyed. 366 // destroyed.
367 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 367 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
368 368
369 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 369 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
370 }; 370 };
371 371
372 } // namespace extensions 372 } // namespace extensions
373 373
374 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 374 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/guest_view_base.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698