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

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: fix content_browsertests compile 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 namespace content { 48 namespace content {
49 class BrowserPluginEmbedder; 49 class BrowserPluginEmbedder;
50 class BrowserPluginGuest; 50 class BrowserPluginGuest;
51 class BrowserPluginGuestManager; 51 class BrowserPluginGuestManager;
52 class DateTimeChooserAndroid; 52 class DateTimeChooserAndroid;
53 class DownloadItem; 53 class DownloadItem;
54 class GeolocationDispatcherHost; 54 class GeolocationDispatcherHost;
55 class InterstitialPageImpl; 55 class InterstitialPageImpl;
56 class JavaScriptDialogManager; 56 class JavaScriptDialogManager;
57 class ManifestManagerHost;
57 class MidiDispatcherHost; 58 class MidiDispatcherHost;
58 class PowerSaveBlocker; 59 class PowerSaveBlocker;
59 class RenderViewHost; 60 class RenderViewHost;
60 class RenderViewHostDelegateView; 61 class RenderViewHostDelegateView;
61 class RenderViewHostImpl; 62 class RenderViewHostImpl;
62 class RenderWidgetHostImpl; 63 class RenderWidgetHostImpl;
63 class SavePackage; 64 class SavePackage;
64 class ScreenOrientationDispatcherHost; 65 class ScreenOrientationDispatcherHost;
65 class SiteInstance; 66 class SiteInstance;
66 class TestWebContents; 67 class TestWebContents;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 bool is_favicon, 325 bool is_favicon,
325 uint32_t max_bitmap_size, 326 uint32_t max_bitmap_size,
326 const ImageDownloadCallback& callback) OVERRIDE; 327 const ImageDownloadCallback& callback) OVERRIDE;
327 virtual bool IsSubframe() const OVERRIDE; 328 virtual bool IsSubframe() const OVERRIDE;
328 virtual void Find(int request_id, 329 virtual void Find(int request_id,
329 const base::string16& search_text, 330 const base::string16& search_text,
330 const blink::WebFindOptions& options) OVERRIDE; 331 const blink::WebFindOptions& options) OVERRIDE;
331 virtual void StopFinding(StopFindAction action) OVERRIDE; 332 virtual void StopFinding(StopFindAction action) OVERRIDE;
332 virtual void InsertCSS(const std::string& css) OVERRIDE; 333 virtual void InsertCSS(const std::string& css) OVERRIDE;
333 virtual bool WasRecentlyAudible() OVERRIDE; 334 virtual bool WasRecentlyAudible() OVERRIDE;
335 virtual void GetManifest(const GetManifestCallback&) OVERRIDE;
334 #if defined(OS_ANDROID) 336 #if defined(OS_ANDROID)
335 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() 337 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents()
336 OVERRIDE; 338 OVERRIDE;
337 virtual WebContentsAndroid* GetWebContentsAndroid(); 339 virtual WebContentsAndroid* GetWebContentsAndroid();
338 #elif defined(OS_MACOSX) 340 #elif defined(OS_MACOSX)
339 virtual void SetAllowOtherViews(bool allow) OVERRIDE; 341 virtual void SetAllowOtherViews(bool allow) OVERRIDE;
340 virtual bool GetAllowOtherViews() OVERRIDE; 342 virtual bool GetAllowOtherViews() OVERRIDE;
341 #endif 343 #endif
342 344
343 // Implementation of PageNavigator. 345 // Implementation of PageNavigator.
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1223 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1222 bool last_dialog_suppressed_; 1224 bool last_dialog_suppressed_;
1223 1225
1224 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1226 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1225 1227
1226 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; 1228 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
1227 1229
1228 scoped_ptr<ScreenOrientationDispatcherHost> 1230 scoped_ptr<ScreenOrientationDispatcherHost>
1229 screen_orientation_dispatcher_host_; 1231 screen_orientation_dispatcher_host_;
1230 1232
1233 scoped_ptr<ManifestManagerHost> manifest_manager_host_;
1234
1231 // The accessibility mode for all frames. This is queried when each frame 1235 // The accessibility mode for all frames. This is queried when each frame
1232 // is created, and broadcast to all frames when it changes. 1236 // is created, and broadcast to all frames when it changes.
1233 AccessibilityMode accessibility_mode_; 1237 AccessibilityMode accessibility_mode_;
1234 1238
1235 // Monitors power levels for audio streams associated with this WebContents. 1239 // Monitors power levels for audio streams associated with this WebContents.
1236 AudioStreamMonitor audio_stream_monitor_; 1240 AudioStreamMonitor audio_stream_monitor_;
1237 1241
1238 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1242 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1239 }; 1243 };
1240 1244
1241 } // namespace content 1245 } // namespace content
1242 1246
1243 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1247 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/manifest/manifest_manager_host.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698