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

Side by Side Diff: views/view.h

Issue 3201003: Fixed error message bubbles according to the latest mocks (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Comments resolved Created 10 years, 4 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
« no previous file with comments | « chrome/browser/chromeos/login/user_controller.cc ('k') | views/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 // relative to the Widget that is their parent. 637 // relative to the Widget that is their parent.
638 static void ConvertPointToWidget(const View* src, gfx::Point* point); 638 static void ConvertPointToWidget(const View* src, gfx::Point* point);
639 639
640 // Convert a point from a view Widget to a View dest 640 // Convert a point from a view Widget to a View dest
641 static void ConvertPointFromWidget(const View* dest, gfx::Point* p); 641 static void ConvertPointFromWidget(const View* dest, gfx::Point* p);
642 642
643 // Convert a point from the coordinate system of a View to that of the 643 // Convert a point from the coordinate system of a View to that of the
644 // screen. This is useful for example when placing popup windows. 644 // screen. This is useful for example when placing popup windows.
645 static void ConvertPointToScreen(const View* src, gfx::Point* point); 645 static void ConvertPointToScreen(const View* src, gfx::Point* point);
646 646
647 // Return the bounds of the View in screen coordinate system.
648 gfx::Rect GetScreenBounds() const;
649
647 // Event Handlers 650 // Event Handlers
648 651
649 // This method is invoked when the user clicks on this view. 652 // This method is invoked when the user clicks on this view.
650 // The provided event is in the receiver's coordinate system. 653 // The provided event is in the receiver's coordinate system.
651 // 654 //
652 // Return true if you processed the event and want to receive subsequent 655 // Return true if you processed the event and want to receive subsequent
653 // MouseDraggged and MouseReleased events. This also stops the event from 656 // MouseDraggged and MouseReleased events. This also stops the event from
654 // bubbling. If you return false, the event will bubble through parent 657 // bubbling. If you return false, the event will bubble through parent
655 // views. 658 // views.
656 // 659 //
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 // The default value for how long to wait (in ms) before showing a menu 1328 // The default value for how long to wait (in ms) before showing a menu
1326 // button on hover. This value is used if the OS doesn't supply one. 1329 // button on hover. This value is used if the OS doesn't supply one.
1327 static const int kShowFolderDropMenuDelay; 1330 static const int kShowFolderDropMenuDelay;
1328 1331
1329 DISALLOW_COPY_AND_ASSIGN(View); 1332 DISALLOW_COPY_AND_ASSIGN(View);
1330 }; 1333 };
1331 1334
1332 } // namespace views 1335 } // namespace views
1333 1336
1334 #endif // VIEWS_VIEW_H_ 1337 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_controller.cc ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698