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

Side by Side Diff: chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h

Issue 342112: Try to add more sanity checking to help track down a crash.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
7 7
8 #include "app/gfx/font.h" 8 #include "app/gfx/font.h"
9 #include "app/slide_animation.h" 9 #include "app/slide_animation.h"
10 #include "chrome/browser/autocomplete/autocomplete.h" 10 #include "chrome/browser/autocomplete/autocomplete.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // The font that we should use for result rows. This is based on the font used 125 // The font that we should use for result rows. This is based on the font used
126 // by the edit that created us. 126 // by the edit that created us.
127 gfx::Font result_font_; 127 gfx::Font result_font_;
128 128
129 // The popup sizes vertically using an animation when the popup is getting 129 // The popup sizes vertically using an animation when the popup is getting
130 // shorter (not larger, that makes it look "slow"). 130 // shorter (not larger, that makes it look "slow").
131 SlideAnimation size_animation_; 131 SlideAnimation size_animation_;
132 gfx::Rect start_bounds_; 132 gfx::Rect start_bounds_;
133 gfx::Rect target_bounds_; 133 gfx::Rect target_bounds_;
134 134
135 bool is_open_; // Used only for sanity-checking.
136
135 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); 137 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView);
136 }; 138 };
137 139
138 140
139 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS _VIEW_H_ 141 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS _VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698