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

Side by Side Diff: views/view.h

Issue 216045: Implements a NOTIMPLEMENTED in GoButton. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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/go_button.cc ('k') | views/view_gtk.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 #ifndef VIEWS_VIEW_H_ 5 #ifndef VIEWS_VIEW_H_
6 #define VIEWS_VIEW_H_ 6 #define VIEWS_VIEW_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 IGNORE_MIRRORING_TRANSFORMATION = 0, 119 IGNORE_MIRRORING_TRANSFORMATION = 0,
120 APPLY_MIRRORING_TRANSFORMATION 120 APPLY_MIRRORING_TRANSFORMATION
121 }; 121 };
122 122
123 // The view class name. 123 // The view class name.
124 static char kViewClassName[]; 124 static char kViewClassName[];
125 125
126 View(); 126 View();
127 virtual ~View(); 127 virtual ~View();
128 128
129 // Returns the amount of time between double clicks, in milliseconds.
130 static int GetDoubleClickTimeMS();
131
129 // Sizing functions 132 // Sizing functions
130 133
131 // Get the bounds of the View, relative to the parent. Essentially, this 134 // Get the bounds of the View, relative to the parent. Essentially, this
132 // function returns the bounds_ rectangle. 135 // function returns the bounds_ rectangle.
133 // 136 //
134 // This is the function subclasses should use whenever they need to obtain 137 // This is the function subclasses should use whenever they need to obtain
135 // the bounds of one of their child views (for example, when implementing 138 // the bounds of one of their child views (for example, when implementing
136 // View::Layout()). 139 // View::Layout()).
137 const gfx::Rect& bounds() const { return bounds_; } 140 const gfx::Rect& bounds() const { return bounds_; }
138 141
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 // is going to be flipped horizontally (using the appropriate transform) on 1230 // is going to be flipped horizontally (using the appropriate transform) on
1228 // right-to-left locales for this View. 1231 // right-to-left locales for this View.
1229 bool flip_canvas_on_paint_for_rtl_ui_; 1232 bool flip_canvas_on_paint_for_rtl_ui_;
1230 1233
1231 DISALLOW_COPY_AND_ASSIGN(View); 1234 DISALLOW_COPY_AND_ASSIGN(View);
1232 }; 1235 };
1233 1236
1234 } // namespace views 1237 } // namespace views
1235 1238
1236 #endif // VIEWS_VIEW_H_ 1239 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/go_button.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698