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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h

Issue 309713002: Fix bg color of bookmark bubble view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also give bubbles the correct bg color Created 6 years, 6 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/bookmarks/bookmark_bubble_view.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 (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_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 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/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual ~BookmarkBubbleView(); 47 virtual ~BookmarkBubbleView();
48 48
49 // views::BubbleDelegateView method. 49 // views::BubbleDelegateView method.
50 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 50 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
51 51
52 // views::WidgetDelegate method. 52 // views::WidgetDelegate method.
53 virtual void WindowClosing() OVERRIDE; 53 virtual void WindowClosing() OVERRIDE;
54 54
55 // views::View method. 55 // views::View method.
56 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 56 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
57 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
58 57
59 protected: 58 protected:
60 // views::BubbleDelegateView method. 59 // views::BubbleDelegateView method.
61 virtual void Init() OVERRIDE; 60 virtual void Init() OVERRIDE;
62 61
63 private: 62 private:
64 friend class BookmarkBubbleViewTest; 63 friend class BookmarkBubbleViewTest;
65 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoSignedIn); 64 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoSignedIn);
66 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoNotSignedIn); 65 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoNotSignedIn);
67 66
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // When the destructor is invoked should the bookmark be removed? 138 // When the destructor is invoked should the bookmark be removed?
140 bool remove_bookmark_; 139 bool remove_bookmark_;
141 140
142 // When the destructor is invoked should edits be applied? 141 // When the destructor is invoked should edits be applied?
143 bool apply_edits_; 142 bool apply_edits_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); 144 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView);
146 }; 145 };
147 146
148 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 147 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698