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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 537053002: Implement ManifestManager to handle manifest in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_fetcher
Patch Set: with tests 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 namespace content { 47 namespace content {
48 class BrowserPluginEmbedder; 48 class BrowserPluginEmbedder;
49 class BrowserPluginGuest; 49 class BrowserPluginGuest;
50 class BrowserPluginGuestManager; 50 class BrowserPluginGuestManager;
51 class DateTimeChooserAndroid; 51 class DateTimeChooserAndroid;
52 class DownloadItem; 52 class DownloadItem;
53 class GeolocationDispatcherHost; 53 class GeolocationDispatcherHost;
54 class InterstitialPageImpl; 54 class InterstitialPageImpl;
55 class JavaScriptDialogManager; 55 class JavaScriptDialogManager;
56 class ManifestManagerHost;
56 class MidiDispatcherHost; 57 class MidiDispatcherHost;
57 class PowerSaveBlocker; 58 class PowerSaveBlocker;
58 class RenderViewHost; 59 class RenderViewHost;
59 class RenderViewHostDelegateView; 60 class RenderViewHostDelegateView;
60 class RenderViewHostImpl; 61 class RenderViewHostImpl;
61 class RenderWidgetHostImpl; 62 class RenderWidgetHostImpl;
62 class SavePackage; 63 class SavePackage;
63 class ScreenOrientationDispatcherHost; 64 class ScreenOrientationDispatcherHost;
64 class SiteInstance; 65 class SiteInstance;
65 class TestWebContents; 66 class TestWebContents;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 virtual int DownloadImage(const GURL& url, 323 virtual int DownloadImage(const GURL& url,
323 bool is_favicon, 324 bool is_favicon,
324 uint32_t max_bitmap_size, 325 uint32_t max_bitmap_size,
325 const ImageDownloadCallback& callback) OVERRIDE; 326 const ImageDownloadCallback& callback) OVERRIDE;
326 virtual bool IsSubframe() const OVERRIDE; 327 virtual bool IsSubframe() const OVERRIDE;
327 virtual void Find(int request_id, 328 virtual void Find(int request_id,
328 const base::string16& search_text, 329 const base::string16& search_text,
329 const blink::WebFindOptions& options) OVERRIDE; 330 const blink::WebFindOptions& options) OVERRIDE;
330 virtual void StopFinding(StopFindAction action) OVERRIDE; 331 virtual void StopFinding(StopFindAction action) OVERRIDE;
331 virtual void InsertCSS(const std::string& css) OVERRIDE; 332 virtual void InsertCSS(const std::string& css) OVERRIDE;
333 virtual void GetManifest(const GetManifestCallback&) OVERRIDE;
jochen (gone - plz use gerrit) 2014/09/10 08:02:43 why does this have to be on WebContents?
mlamouri (slow - plz ping) 2014/09/10 17:06:19 |manifest_manager_hosts_| has to live in WebConten
332 #if defined(OS_ANDROID) 334 #if defined(OS_ANDROID)
333 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() 335 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents()
334 OVERRIDE; 336 OVERRIDE;
335 virtual WebContentsAndroid* GetWebContentsAndroid(); 337 virtual WebContentsAndroid* GetWebContentsAndroid();
336 #elif defined(OS_MACOSX) 338 #elif defined(OS_MACOSX)
337 virtual void SetAllowOtherViews(bool allow) OVERRIDE; 339 virtual void SetAllowOtherViews(bool allow) OVERRIDE;
338 virtual bool GetAllowOtherViews() OVERRIDE; 340 virtual bool GetAllowOtherViews() OVERRIDE;
339 #endif 341 #endif
340 342
341 // Implementation of PageNavigator. 343 // Implementation of PageNavigator.
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1192 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1191 bool last_dialog_suppressed_; 1193 bool last_dialog_suppressed_;
1192 1194
1193 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1195 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1194 1196
1195 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; 1197 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
1196 1198
1197 scoped_ptr<ScreenOrientationDispatcherHost> 1199 scoped_ptr<ScreenOrientationDispatcherHost>
1198 screen_orientation_dispatcher_host_; 1200 screen_orientation_dispatcher_host_;
1199 1201
1202 scoped_ptr<ManifestManagerHost> manifest_manager_host_;
1203
1200 // The accessibility mode for all frames. This is queried when each frame 1204 // The accessibility mode for all frames. This is queried when each frame
1201 // is created, and broadcast to all frames when it changes. 1205 // is created, and broadcast to all frames when it changes.
1202 AccessibilityMode accessibility_mode_; 1206 AccessibilityMode accessibility_mode_;
1203 1207
1204 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1208 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1205 }; 1209 };
1206 1210
1207 } // namespace content 1211 } // namespace content
1208 1212
1209 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1213 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698