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

Side by Side Diff: chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h

Issue 20871003: Fix BubbleFrameView title and close button patterns. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge; add OVERRIDE mark. Created 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_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/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 12 matching lines...) Expand all
23 public views::LinkListener { 23 public views::LinkListener {
24 public: 24 public:
25 virtual ~AutofillCreditCardBubbleViews(); 25 virtual ~AutofillCreditCardBubbleViews();
26 26
27 // AutofillCreditCardBubble: 27 // AutofillCreditCardBubble:
28 virtual void Show() OVERRIDE; 28 virtual void Show() OVERRIDE;
29 virtual void Hide() OVERRIDE; 29 virtual void Hide() OVERRIDE;
30 virtual bool IsHiding() const OVERRIDE; 30 virtual bool IsHiding() const OVERRIDE;
31 31
32 // views::BubbleDelegateView: 32 // views::BubbleDelegateView:
33 virtual string16 GetWindowTitle() const OVERRIDE;
33 virtual void Init() OVERRIDE; 34 virtual void Init() OVERRIDE;
34 virtual gfx::Size GetPreferredSize() OVERRIDE; 35 virtual gfx::Size GetPreferredSize() OVERRIDE;
35 36
36 // views::LinkListener: 37 // views::LinkListener:
37 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 38 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
38 39
39 private: 40 private:
40 friend base::WeakPtr<AutofillCreditCardBubble> 41 friend base::WeakPtr<AutofillCreditCardBubble>
41 AutofillCreditCardBubble::Create( 42 AutofillCreditCardBubble::Create(
42 const base::WeakPtr<AutofillCreditCardBubbleController>& controller); 43 const base::WeakPtr<AutofillCreditCardBubbleController>& controller);
43 44
44 explicit AutofillCreditCardBubbleViews( 45 explicit AutofillCreditCardBubbleViews(
45 const base::WeakPtr<AutofillCreditCardBubbleController>& controller); 46 const base::WeakPtr<AutofillCreditCardBubbleController>& controller);
46 47
47 // Controller that drives this bubble. Invalid when hiding. 48 // Controller that drives this bubble. Invalid when hiding.
48 base::WeakPtr<AutofillCreditCardBubbleController> controller_; 49 base::WeakPtr<AutofillCreditCardBubbleController> controller_;
49 50
50 base::WeakPtrFactory<AutofillCreditCardBubble> weak_ptr_factory_; 51 base::WeakPtrFactory<AutofillCreditCardBubble> weak_ptr_factory_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(AutofillCreditCardBubbleViews); 53 DISALLOW_COPY_AND_ASSIGN(AutofillCreditCardBubbleViews);
53 }; 54 };
54 55
55 } // namespace autofill 56 } // namespace autofill
56 57
57 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_H_ 58 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698