| OLD | NEW |
| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 load_plugins_link_enabled_ = enabled; | 276 load_plugins_link_enabled_ = enabled; |
| 277 } | 277 } |
| 278 | 278 |
| 279 // Called to indicate whether access to the Pepper broker was allowed or | 279 // Called to indicate whether access to the Pepper broker was allowed or |
| 280 // blocked. | 280 // blocked. |
| 281 void SetPepperBrokerAllowed(bool allowed); | 281 void SetPepperBrokerAllowed(bool allowed); |
| 282 | 282 |
| 283 // content::WebContentsObserver overrides. | 283 // content::WebContentsObserver overrides. |
| 284 virtual void RenderFrameForInterstitialPageCreated( | 284 virtual void RenderFrameForInterstitialPageCreated( |
| 285 content::RenderFrameHost* render_frame_host) OVERRIDE; | 285 content::RenderFrameHost* render_frame_host) OVERRIDE; |
| 286 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 286 virtual bool OnMessageReceived( |
| 287 const IPC::Message& message, |
| 288 content::RenderFrameHost* render_frame_host) OVERRIDE; |
| 287 virtual void DidNavigateMainFrame( | 289 virtual void DidNavigateMainFrame( |
| 288 const content::LoadCommittedDetails& details, | 290 const content::LoadCommittedDetails& details, |
| 289 const content::FrameNavigateParams& params) OVERRIDE; | 291 const content::FrameNavigateParams& params) OVERRIDE; |
| 290 virtual void DidStartProvisionalLoadForFrame( | 292 virtual void DidStartProvisionalLoadForFrame( |
| 291 int64 frame_id, | 293 int64 frame_id, |
| 292 int64 parent_frame_id, | 294 int64 parent_frame_id, |
| 293 bool is_main_frame, | 295 bool is_main_frame, |
| 294 const GURL& validated_url, | 296 const GURL& validated_url, |
| 295 bool is_error_page, | 297 bool is_error_page, |
| 296 bool is_iframe_srcdoc, | 298 bool is_iframe_srcdoc, |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 417 |
| 416 // The devices to be displayed in the media bubble when the media stream | 418 // The devices to be displayed in the media bubble when the media stream |
| 417 // request is requesting certain specific devices. | 419 // request is requesting certain specific devices. |
| 418 std::string media_stream_requested_audio_device_; | 420 std::string media_stream_requested_audio_device_; |
| 419 std::string media_stream_requested_video_device_; | 421 std::string media_stream_requested_video_device_; |
| 420 | 422 |
| 421 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 423 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 422 }; | 424 }; |
| 423 | 425 |
| 424 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 426 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |