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

Side by Side Diff: chrome/browser/content_settings/tab_specific_content_settings.h

Issue 11788015: When starting a provisional load, indicate whether the provisional URL is about:srcdoc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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 CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 236 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
237 virtual void DidNavigateMainFrame( 237 virtual void DidNavigateMainFrame(
238 const content::LoadCommittedDetails& details, 238 const content::LoadCommittedDetails& details,
239 const content::FrameNavigateParams& params) OVERRIDE; 239 const content::FrameNavigateParams& params) OVERRIDE;
240 virtual void DidStartProvisionalLoadForFrame( 240 virtual void DidStartProvisionalLoadForFrame(
241 int64 frame_id, 241 int64 frame_id,
242 int64 parent_frame_id, 242 int64 parent_frame_id,
243 bool is_main_frame, 243 bool is_main_frame,
244 const GURL& validated_url, 244 const GURL& validated_url,
245 bool is_error_page, 245 bool is_error_page,
246 bool is_iframe_srcdoc,
246 content::RenderViewHost* render_view_host) OVERRIDE; 247 content::RenderViewHost* render_view_host) OVERRIDE;
247 virtual void AppCacheAccessed(const GURL& manifest_url, 248 virtual void AppCacheAccessed(const GURL& manifest_url,
248 bool blocked_by_policy) OVERRIDE; 249 bool blocked_by_policy) OVERRIDE;
249 250
250 // Message handlers. Public for testing. 251 // Message handlers. Public for testing.
251 void OnContentBlocked(ContentSettingsType type, 252 void OnContentBlocked(ContentSettingsType type,
252 const std::string& resource_identifier); 253 const std::string& resource_identifier);
253 254
254 // These methods are invoked on the UI thread by the static functions above. 255 // These methods are invoked on the UI thread by the static functions above.
255 // Public for testing. 256 // Public for testing.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 346
346 // Stores whether the user can load blocked plugins on this page. 347 // Stores whether the user can load blocked plugins on this page.
347 bool load_plugins_link_enabled_; 348 bool load_plugins_link_enabled_;
348 349
349 content::NotificationRegistrar registrar_; 350 content::NotificationRegistrar registrar_;
350 351
351 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); 352 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings);
352 }; 353 };
353 354
354 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 355 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698