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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h

Issue 9479008: Re-factor location bar/toolbar code to get rid of the browser dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: call right overloaded method Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h b/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..b1bb9565ee2f8ba1c776dc4dde8ff5df2b4f984e
--- /dev/null
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
+#define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
+#pragma once
+
+#include "chrome/common/content_settings_types.h"
+
+class TabContentsWrapper;
+
+// Delegate which is used by ContentSettingBubbleModel class.
+class ContentSettingBubbleModelDelegate {
+ public:
+ // Shows the cookies collected in the tab contents wrapper.
+ virtual void ShowCollectedCookiesDialog(TabContentsWrapper* contents) = 0;
+
+ // Shows the Content Settings page for a given content type.
+ virtual void ShowContentSettingsPage(ContentSettingsType type) = 0;
+
+ protected:
+ virtual ~ContentSettingBubbleModelDelegate() {}
+};
+
+#endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/content_settings/content_setting_bubble_model.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698