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

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

Issue 496873006: Move core web_view code to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move guest view type registers to extensions && remove dependency of web_request_api.h. 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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define CHROME_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"
11 #include "chrome/browser/guest_view/web_view/javascript_dialog_helper.h"
12 #include "chrome/browser/guest_view/web_view/web_view_find_helper.h"
13 #include "chrome/browser/guest_view/web_view/web_view_permission_helper.h"
14 #include "chrome/browser/guest_view/web_view/web_view_permission_types.h"
15 #include "content/public/browser/javascript_dialog_manager.h" 11 #include "content/public/browser/javascript_dialog_manager.h"
16 #include "content/public/browser/notification_observer.h" 12 #include "content/public/browser/notification_observer.h"
17 #include "content/public/browser/notification_registrar.h" 13 #include "content/public/browser/notification_registrar.h"
18 #include "extensions/browser/guest_view/guest_view.h" 14 #include "extensions/browser/guest_view/guest_view.h"
15 #include "extensions/browser/guest_view/web_view/javascript_dialog_helper.h"
16 #include "extensions/browser/guest_view/web_view/web_view_find_helper.h"
19 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" 17 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h"
18 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h"
19 #include "extensions/browser/guest_view/web_view/web_view_permission_types.h"
20 #include "extensions/browser/script_executor.h" 20 #include "extensions/browser/script_executor.h"
21 #include "third_party/WebKit/public/web/WebFindOptions.h" 21 #include "third_party/WebKit/public/web/WebFindOptions.h"
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 class WebViewInternalFindFunction; 25 class WebViewInternalFindFunction;
26 26
27 // A WebViewGuest provides the browser-side implementation of the <webview> API 27 // A WebViewGuest provides the browser-side implementation of the <webview> API
28 // and manages the dispatch of <webview> extension events. WebViewGuest is 28 // and manages the dispatch of <webview> extension events. WebViewGuest is
29 // created on attachment. That is, when a guest WebContents is associated with 29 // created on attachment. That is, when a guest WebContents is associated with
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 }; 350 };
351 351
352 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; 352 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap;
353 PendingWindowMap pending_new_windows_; 353 PendingWindowMap pending_new_windows_;
354 354
355 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 355 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
356 }; 356 };
357 357
358 } // namespace extensions 358 } // namespace extensions
359 359
360 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 360 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698