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

Side by Side Diff: chrome/browser/views/blocked_popup_container.h

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 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 // Defines the public interface for the blocked popup notifications. This 5 // Defines the public interface for the blocked popup notifications. This
6 // interface should only be used by TabContents. Users and subclasses of 6 // interface should only be used by TabContents. Users and subclasses of
7 // TabContents should use the appropriate methods on TabContents to access 7 // TabContents should use the appropriate methods on TabContents to access
8 // information about blocked popups. 8 // information about blocked popups.
9 9
10 #ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_ 10 #ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ~BlockedPopupContainerView(); 45 ~BlockedPopupContainerView();
46 46
47 // Sets the label on the menu button 47 // Sets the label on the menu button
48 void UpdateLabel(); 48 void UpdateLabel();
49 49
50 std::wstring label() const { return popup_count_label_->text(); } 50 std::wstring label() const { return popup_count_label_->text(); }
51 51
52 // Overridden from views::View: 52 // Overridden from views::View:
53 53
54 // Paints our border and background. (Does not paint children.) 54 // Paints our border and background. (Does not paint children.)
55 virtual void Paint(ChromeCanvas* canvas); 55 virtual void Paint(gfx::Canvas* canvas);
56 // Sets positions of all child views. 56 // Sets positions of all child views.
57 virtual void Layout(); 57 virtual void Layout();
58 // Gets the desired size of the popup notification. 58 // Gets the desired size of the popup notification.
59 virtual gfx::Size GetPreferredSize(); 59 virtual gfx::Size GetPreferredSize();
60 60
61 // Overridden from views::ButtonListener: 61 // Overridden from views::ButtonListener:
62 virtual void ButtonPressed(views::Button* sender); 62 virtual void ButtonPressed(views::Button* sender);
63 63
64 // Overridden from Menu::Delegate: 64 // Overridden from Menu::Delegate:
65 65
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // bounds while animating in or out). 320 // bounds while animating in or out).
321 gfx::Rect bounds_; 321 gfx::Rect bounds_;
322 322
323 // The bottom right corner of where we should appear in our parent window. 323 // The bottom right corner of where we should appear in our parent window.
324 gfx::Point anchor_point_; 324 gfx::Point anchor_point_;
325 325
326 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); 326 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer);
327 }; 327 };
328 328
329 #endif 329 #endif
OLDNEW
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc ('k') | chrome/browser/views/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698