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

Unified Diff: chrome/browser/ui/cocoa/website_settings/split_block_button.h

Issue 2741933003: Move Cocoa Page Info UI code to its own folder. (Closed)
Patch Set: Fixin' more unit tests BUILD paths (does mass_rename.py just not pick those up? => crbug.com/701529) Created 3 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/cocoa/website_settings/split_block_button.h
diff --git a/chrome/browser/ui/cocoa/website_settings/split_block_button.h b/chrome/browser/ui/cocoa/website_settings/split_block_button.h
deleted file mode 100644
index 5a38fe16221943777fbe0bc293b59786ffe904a4..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/website_settings/split_block_button.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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_COCOA_WEBSITE_SETTINGS_SPLIT_BLOCK_BUTTON_H_
-#define CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_SPLIT_BLOCK_BUTTON_H_
-
-#import <Cocoa/Cocoa.h>
-
-#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h"
-#include "ui/base/models/simple_menu_model.h"
-
-@class SplitButtonPopUpCell;
-@class SplitButtonTitleCell;
-
-// Block ('deny') button for the permissions bubble. Subclassed from
-// ConstrainedWindowButton, so that it shares styling, but contains two cells
-// instead of just one. The left cell behaves as a normal button, and when
-// clicked, calls the button's |action| on its |target|. The right cell behaves
-// as a NSPopUpButtonCell, and implements a single-item menu.
-@interface SplitBlockButton : ConstrainedWindowButton {
- @private
- base::scoped_nsobject<SplitButtonTitleCell> leftCell_;
- base::scoped_nsobject<SplitButtonPopUpCell> rightCell_;
-
- ui::ScopedCrTrackingArea leftTrackingArea_;
- ui::ScopedCrTrackingArea rightTrackingArea_;
-}
-
-// Designated initializer.
-- (id)initWithMenuDelegate:(ui::SimpleMenuModel::Delegate*)menuDelegate;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_SPLIT_BLOCK_BUTTON_H_

Powered by Google App Engine
This is Rietveld 408576698