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

Side by Side Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 10830366: Avoid overriding Bubble's GetAnchorRect() where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a redundant DCHECK. Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 WebsiteSettingsPopupView(views::View* anchor_view, 53 WebsiteSettingsPopupView(views::View* anchor_view,
54 Profile* profile, 54 Profile* profile,
55 TabContents* tab_contents, 55 TabContents* tab_contents,
56 const GURL& url, 56 const GURL& url,
57 const content::SSLStatus& ssl); 57 const content::SSLStatus& ssl);
58 58
59 // PermissionSelectorViewObserver implementation. 59 // PermissionSelectorViewObserver implementation.
60 virtual void OnPermissionChanged( 60 virtual void OnPermissionChanged(
61 PermissionSelectorView* selector) OVERRIDE; 61 PermissionSelectorView* selector) OVERRIDE;
62 62
63 // views::BubbleDelegate implementations. 63 // views::BubbleDelegate implementation.
64 virtual gfx::Rect GetAnchorRect() OVERRIDE;
65 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; 64 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
66 65
67 // views::ButtonListener implementation. 66 // views::ButtonListener implementation.
68 virtual void ButtonPressed(views::Button* button, 67 virtual void ButtonPressed(views::Button* button,
69 const ui::Event& event) OVERRIDE; 68 const ui::Event& event) OVERRIDE;
70 69
71 // views::LinkListener implementation. 70 // views::LinkListener implementation.
72 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 71 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
73 72
74 // views::TabbedPaneListener implementations. 73 // views::TabbedPaneListener implementations.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // provide a certificate then |cert_id_| is 0. 143 // provide a certificate then |cert_id_| is 0.
145 int cert_id_; 144 int cert_id_;
146 145
147 views::View* connection_info_content_; 146 views::View* connection_info_content_;
148 views::View* page_info_content_; 147 views::View* page_info_content_;
149 148
150 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); 149 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView);
151 }; 150 };
152 151
153 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_ 152 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698