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

Side by Side Diff: chrome/browser/views/toolbar_star_toggle.cc

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 | « chrome/browser/views/bookmark_editor_view_unittest.cc ('k') | chrome/browser/web_contents.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/toolbar_star_toggle.h" 5 #include "chrome/browser/views/toolbar_star_toggle.h"
6 6
7 #include "chrome/app/theme/theme_resources.h" 7 #include "chrome/app/theme/theme_resources.h"
8 #include "chrome/browser/bookmark_bar_model.h" 8 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
9 #include "chrome/browser/browser.h" 9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/views/bookmark_bubble_view.h" 10 #include "chrome/browser/views/bookmark_bubble_view.h"
11 #include "chrome/browser/views/toolbar_view.h" 11 #include "chrome/browser/views/toolbar_view.h"
12 #include "chrome/common/resource_bundle.h" 12 #include "chrome/common/resource_bundle.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 // The amount of time (in milliseconds) between when the bubble closes and when 15 // The amount of time (in milliseconds) between when the bubble closes and when
16 // pressing on the button again does something. Yes, this is a hackish. I tried 16 // pressing on the button again does something. Yes, this is a hackish. I tried
17 // many different options, all to no avail: 17 // many different options, all to no avail:
18 // . Keying off mouse activation: this didn't work as there is no way to know 18 // . Keying off mouse activation: this didn't work as there is no way to know
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void ToolbarStarToggle::InfoBubbleClosing(InfoBubble* info_bubble) { 82 void ToolbarStarToggle::InfoBubbleClosing(InfoBubble* info_bubble) {
83 is_bubble_showing_ = false; 83 is_bubble_showing_ = false;
84 SchedulePaint(); 84 SchedulePaint();
85 bubble_closed_time_ = TimeTicks::Now(); 85 bubble_closed_time_ = TimeTicks::Now();
86 } 86 }
87 87
88 bool ToolbarStarToggle::CloseOnEscape() { 88 bool ToolbarStarToggle::CloseOnEscape() {
89 return true; 89 return true;
90 } 90 }
91 91
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_editor_view_unittest.cc ('k') | chrome/browser/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698