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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_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_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 27 matching lines...) Expand all
38 bool newly_bookmarked); 38 bool newly_bookmarked);
39 39
40 static bool IsShowing(); 40 static bool IsShowing();
41 41
42 static void Hide(); 42 static void Hide();
43 43
44 virtual ~BookmarkBubbleView(); 44 virtual ~BookmarkBubbleView();
45 45
46 // views::BubbleDelegateView methods. 46 // views::BubbleDelegateView methods.
47 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 47 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
48 virtual gfx::Point GetAnchorPoint() OVERRIDE; 48 virtual gfx::Rect GetAnchorRect() OVERRIDE;
49 49
50 // views::WidgetDelegate method. 50 // views::WidgetDelegate method.
51 virtual void WindowClosing() OVERRIDE; 51 virtual void WindowClosing() OVERRIDE;
52 52
53 // views::View method. 53 // views::View method.
54 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 54 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
55 55
56 protected: 56 protected:
57 // views::BubbleDelegateView method. 57 // views::BubbleDelegateView method.
58 virtual void Init() OVERRIDE; 58 virtual void Init() OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // When the destructor is invoked should the bookmark be removed? 129 // When the destructor is invoked should the bookmark be removed?
130 bool remove_bookmark_; 130 bool remove_bookmark_;
131 131
132 // When the destructor is invoked should edits be applied? 132 // When the destructor is invoked should edits be applied?
133 bool apply_edits_; 133 bool apply_edits_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); 135 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView);
136 }; 136 };
137 137
138 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 138 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/avatar_menu_bubble_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698