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

Side by Side Diff: views/widget/root_view.h

Issue 7324029: Fix the bug of the hide key on Omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/ui/views/frame/browser_root_view.cc ('k') | no next file » | 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 VIEWS_WIDGET_ROOT_VIEW_H_ 5 #ifndef VIEWS_WIDGET_ROOT_VIEW_H_
6 #define VIEWS_WIDGET_ROOT_VIEW_H_ 6 #define VIEWS_WIDGET_ROOT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Overridden from View: 120 // Overridden from View:
121 virtual void ViewHierarchyChanged(bool is_add, View* parent, 121 virtual void ViewHierarchyChanged(bool is_add, View* parent,
122 View* child) OVERRIDE; 122 View* child) OVERRIDE;
123 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 123 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
124 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 124 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
125 virtual ui::Compositor* GetCompositor() OVERRIDE; 125 virtual ui::Compositor* GetCompositor() OVERRIDE;
126 virtual void MarkLayerDirty() OVERRIDE; 126 virtual void MarkLayerDirty() OVERRIDE;
127 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 127 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
128 View** ancestor) OVERRIDE; 128 View** ancestor) OVERRIDE;
129 129
130 View* touch_pressed_handler() const { return touch_pressed_handler_; }
131
132 private: 130 private:
133 friend class View; 131 friend class View;
134 friend class Widget; 132 friend class Widget;
135 133
136 // Required so the GestureManager can call the Process* entry points 134 // Required so the GestureManager can call the Process* entry points
137 // with synthetic events as necessary. 135 // with synthetic events as necessary.
138 friend class GestureManager; 136 friend class GestureManager;
139 137
140 // Input --------------------------------------------------------------------- 138 // Input ---------------------------------------------------------------------
141 139
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Tracks drag state for a view. 203 // Tracks drag state for a view.
206 View::DragInfo drag_info; 204 View::DragInfo drag_info;
207 205
208 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 206 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
209 }; 207 };
210 208
211 } // namespace internal 209 } // namespace internal
212 } // namespace views 210 } // namespace views
213 211
214 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ 212 #endif // VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_root_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698