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

Unified Diff: chrome/browser/ui/cocoa/content_setting_bubble_cocoa.h

Issue 6294008: [Mac] Organize some files into chrome/browser/ui/cocoa/content_settings/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/content_setting_bubble_cocoa.h
===================================================================
--- chrome/browser/ui/cocoa/content_setting_bubble_cocoa.h (revision 71852)
+++ chrome/browser/ui/cocoa/content_setting_bubble_cocoa.h (working copy)
@@ -1,67 +0,0 @@
-// Copyright (c) 2010 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.
-
-#include <map>
-
-#import <Cocoa/Cocoa.h>
-
-#import "base/mac/cocoa_protocols.h"
-#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
-#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
-
-class ContentSettingBubbleModel;
-@class InfoBubbleView;
-
-namespace content_setting_bubble {
-// For every "show popup" button, remember the index of the popup tab contents
-// it should open when clicked.
-typedef std::map<NSButton*, int> PopupLinks;
-}
-
-// Manages a "content blocked" bubble.
-@interface ContentSettingBubbleController : BaseBubbleController {
- @private
- IBOutlet NSTextField* titleLabel_;
- IBOutlet NSMatrix* allowBlockRadioGroup_;
-
- IBOutlet NSButton* manageButton_;
- IBOutlet NSButton* doneButton_;
- IBOutlet NSButton* loadAllPluginsButton_;
-
- // The container for the bubble contents of the geolocation bubble.
- IBOutlet NSView* contentsContainer_;
-
- // The info button of the cookies bubble.
- IBOutlet NSButton* infoButton_;
-
- IBOutlet NSTextField* blockedResourcesField_;
-
- scoped_ptr<ContentSettingBubbleModel> contentSettingBubbleModel_;
- content_setting_bubble::PopupLinks popupLinks_;
-}
-
-// Creates and shows a content blocked bubble. Takes ownership of
-// |contentSettingBubbleModel| but not of the other objects.
-+ (ContentSettingBubbleController*)
- showForModel:(ContentSettingBubbleModel*)contentSettingBubbleModel
- parentWindow:(NSWindow*)parentWindow
- anchoredAt:(NSPoint)anchoredAt;
-
-// Callback for the "don't block / continue blocking" radio group.
-- (IBAction)allowBlockToggled:(id)sender;
-
-// Callback for "close" button.
-- (IBAction)closeBubble:(id)sender;
-
-// Callback for "manage" button.
-- (IBAction)manageBlocking:(id)sender;
-
-// Callback for "info" link.
-- (IBAction)showMoreInfo:(id)sender;
-
-// Callback for "load all plugins" button.
-- (IBAction)loadAllPlugins:(id)sender;
-
-@end

Powered by Google App Engine
This is Rietveld 408576698