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

Side by Side Diff: chrome/browser/ui/views/page_info_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_PAGE_INFO_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_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 "chrome/browser/page_info_model.h" 10 #include "chrome/browser/page_info_model.h"
(...skipping 16 matching lines...) Expand all
27 // Show the certificate dialog. 27 // Show the certificate dialog.
28 void ShowCertDialog(); 28 void ShowCertDialog();
29 29
30 // views::View methods: 30 // views::View methods:
31 virtual gfx::Size GetPreferredSize() OVERRIDE; 31 virtual gfx::Size GetPreferredSize() OVERRIDE;
32 32
33 // PageInfoModelObserver methods: 33 // PageInfoModelObserver methods:
34 virtual void OnPageInfoModelChanged() OVERRIDE; 34 virtual void OnPageInfoModelChanged() OVERRIDE;
35 35
36 // views::BubbleDelegate methods: 36 // views::BubbleDelegate methods:
37 virtual gfx::Point GetAnchorPoint() OVERRIDE; 37 virtual gfx::Rect GetAnchorRect() OVERRIDE;
38 38
39 // views::LinkListener methods: 39 // views::LinkListener methods:
40 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 40 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
41 41
42 // ui::AnimationDelegate methods: 42 // ui::AnimationDelegate methods:
43 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 43 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
44 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 44 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
45 45
46 private: 46 private:
47 // Gets the size of the separator, including padding. 47 // Gets the size of the separator, including padding.
(...skipping 20 matching lines...) Expand all
68 // Animation that helps us change size smoothly as more data comes in. 68 // Animation that helps us change size smoothly as more data comes in.
69 ui::SlideAnimation resize_animation_; 69 ui::SlideAnimation resize_animation_;
70 70
71 // The height of the info bubble at the start of the resize animation. 71 // The height of the info bubble at the start of the resize animation.
72 int animation_start_height_; 72 int animation_start_height_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView); 74 DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView);
75 }; 75 };
76 76
77 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ 77 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/global_error_bubble_view.cc ('k') | chrome/browser/ui/views/page_info_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698