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

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

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 bool load_plugins_link_enabled() { return load_plugins_link_enabled_; } 156 bool load_plugins_link_enabled() { return load_plugins_link_enabled_; }
157 void set_load_plugins_link_enabled(bool enabled) { 157 void set_load_plugins_link_enabled(bool enabled) {
158 load_plugins_link_enabled_ = enabled; 158 load_plugins_link_enabled_ = enabled;
159 } 159 }
160 160
161 // TabContentsObserver overrides. 161 // TabContentsObserver overrides.
162 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 162 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
163 virtual void DidNavigateMainFrame( 163 virtual void DidNavigateMainFrame(
164 const content::LoadCommittedDetails& details, 164 const content::LoadCommittedDetails& details,
165 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 165 const content::FrameNavigateParams& params) OVERRIDE;
166 virtual void DidStartProvisionalLoadForFrame( 166 virtual void DidStartProvisionalLoadForFrame(
167 int64 frame_id, 167 int64 frame_id,
168 bool is_main_frame, 168 bool is_main_frame,
169 const GURL& validated_url, 169 const GURL& validated_url,
170 bool is_error_page, 170 bool is_error_page,
171 RenderViewHost* render_view_host) OVERRIDE; 171 RenderViewHost* render_view_host) OVERRIDE;
172 virtual void AppCacheAccessed(const GURL& manifest_url, 172 virtual void AppCacheAccessed(const GURL& manifest_url,
173 bool blocked_by_policy) OVERRIDE; 173 bool blocked_by_policy) OVERRIDE;
174 174
175 // Message handlers. Public for testing. 175 // Message handlers. Public for testing.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 // Stores whether the user can load blocked plugins on this page. 284 // Stores whether the user can load blocked plugins on this page.
285 bool load_plugins_link_enabled_; 285 bool load_plugins_link_enabled_;
286 286
287 content::NotificationRegistrar registrar_; 287 content::NotificationRegistrar registrar_;
288 288
289 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); 289 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings);
290 }; 290 };
291 291
292 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 292 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698