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

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

Issue 7806015: Adds some debugging code to figure out why we crash when showing the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add setting value Created 9 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 | « no previous file | chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_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) 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_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/autocomplete/autocomplete.h" 9 #include "chrome/browser/autocomplete/autocomplete.h"
10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // flag is reset to false on a mouse pressed event, to make sure we don't 167 // flag is reset to false on a mouse pressed event, to make sure we don't
168 // erroneously ignore the next drag. 168 // erroneously ignore the next drag.
169 bool ignore_mouse_drag_; 169 bool ignore_mouse_drag_;
170 170
171 // The popup sizes vertically using an animation when the popup is getting 171 // The popup sizes vertically using an animation when the popup is getting
172 // shorter (not larger, that makes it look "slow"). 172 // shorter (not larger, that makes it look "slow").
173 ui::SlideAnimation size_animation_; 173 ui::SlideAnimation size_animation_;
174 gfx::Rect start_bounds_; 174 gfx::Rect start_bounds_;
175 gfx::Rect target_bounds_; 175 gfx::Rect target_bounds_;
176 176
177 // Set to true if we're invoking MoveAbove on the popup. Used in tracking
178 // 92497.
179 // TODO(sky): remove when we figure out 92497.
180 bool in_move_above_;
181
177 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); 182 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView);
178 }; 183 };
179 184
180 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW _H_ 185 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698