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

Side by Side Diff: chrome/browser/ui/views/confirm_bubble_view.h

Issue 8863009: Fix alignment of avatar bubbles in the NTP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CONFIRM_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual ~ConfirmBubbleView(); 44 virtual ~ConfirmBubbleView();
45 45
46 // views::ButtonListener implementation. 46 // views::ButtonListener implementation.
47 virtual void ButtonPressed(views::Button* sender, 47 virtual void ButtonPressed(views::Button* sender,
48 const views::Event& event) OVERRIDE; 48 const views::Event& event) OVERRIDE;
49 49
50 // views::LinkListener implementation. 50 // views::LinkListener implementation.
51 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 51 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
52 52
53 // views::BubbleDelegateView implementation. 53 // views::BubbleDelegateView implementation.
54 virtual gfx::Point GetAnchorPoint() OVERRIDE; 54 virtual gfx::Rect GetAnchorRect() OVERRIDE;
55 virtual void Init() OVERRIDE; 55 virtual void Init() OVERRIDE;
56 56
57 private: 57 private:
58 // The screen point where this bubble is anchored. 58 // The screen point where this bubble is anchored.
59 gfx::Point anchor_point_; 59 gfx::Point anchor_point_;
60 60
61 // The model to customize this bubble view. 61 // The model to customize this bubble view.
62 scoped_ptr<ConfirmBubbleModel> model_; 62 scoped_ptr<ConfirmBubbleModel> model_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleView); 64 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleView);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEW_H_ 67 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc ('k') | chrome/browser/ui/views/confirm_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698