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

Side by Side Diff: chrome/browser/cocoa/blocked_popup_container_controller.mm

Issue 243100: Move nsimage_cache into base so that it can be accessed from outside of chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #import "chrome/browser/cocoa/blocked_popup_container_controller.h" 5 #import "chrome/browser/cocoa/blocked_popup_container_controller.h"
6 6
7 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "base/nsimage_cache_mac.h"
8 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
9 #import "chrome/browser/cocoa/bubble_view.h" 10 #import "chrome/browser/cocoa/bubble_view.h"
10 #include "chrome/browser/cocoa/nsimage_cache.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/tab_contents/tab_contents_view.h" 12 #include "chrome/browser/tab_contents/tab_contents_view.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 14
15 // A C++ bridge class that manages the interaction between the C++ interface 15 // A C++ bridge class that manages the interaction between the C++ interface
16 // and the Objective-C view controller that implements the popup blocker. 16 // and the Objective-C view controller that implements the popup blocker.
17 class BlockedPopupContainerViewBridge : public BlockedPopupContainerView { 17 class BlockedPopupContainerViewBridge : public BlockedPopupContainerView {
18 public: 18 public:
19 BlockedPopupContainerViewBridge(BlockedPopupContainerController* controller); 19 BlockedPopupContainerViewBridge(BlockedPopupContainerController* controller);
20 virtual ~BlockedPopupContainerViewBridge(); 20 virtual ~BlockedPopupContainerViewBridge();
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 [controller_ update]; 400 [controller_ update];
401 } 401 }
402 402
403 void BlockedPopupContainerViewBridge::HideView() { 403 void BlockedPopupContainerViewBridge::HideView() {
404 [controller_ hide]; 404 [controller_ hide];
405 } 405 }
406 406
407 void BlockedPopupContainerViewBridge::Destroy() { 407 void BlockedPopupContainerViewBridge::Destroy() {
408 [controller_ autorelease]; 408 [controller_ autorelease];
409 } 409 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_mac.mm ('k') | chrome/browser/cocoa/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698