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: ui/views/views_delegate.h

Issue 55303006: Make sure the non browser/non app widget is fully visible when created on ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/widget/widget.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_VIEWS_DELEGATE_H_ 5 #ifndef UI_VIEWS_VIEWS_DELEGATE_H_
6 #define UI_VIEWS_VIEWS_DELEGATE_H_ 6 #define UI_VIEWS_VIEWS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Saves the position, size and "show" state for the window with the 61 // Saves the position, size and "show" state for the window with the
62 // specified name. 62 // specified name.
63 virtual void SaveWindowPlacement(const Widget* widget, 63 virtual void SaveWindowPlacement(const Widget* widget,
64 const std::string& window_name, 64 const std::string& window_name,
65 const gfx::Rect& bounds, 65 const gfx::Rect& bounds,
66 ui::WindowShowState show_state) = 0; 66 ui::WindowShowState show_state) = 0;
67 67
68 // Retrieves the saved position and size and "show" state for the window with 68 // Retrieves the saved position and size and "show" state for the window with
69 // the specified name. 69 // the specified name.
70 virtual bool GetSavedWindowPlacement( 70 virtual bool GetSavedWindowPlacement(
71 const Widget* widget,
71 const std::string& window_name, 72 const std::string& window_name,
72 gfx::Rect* bounds, 73 gfx::Rect* bounds,
73 ui::WindowShowState* show_state) const = 0; 74 ui::WindowShowState* show_state) const = 0;
74 75
75 virtual void NotifyAccessibilityEvent( 76 virtual void NotifyAccessibilityEvent(
76 View* view, 77 View* view,
77 ui::AccessibilityTypes::Event event_type) = 0; 78 ui::AccessibilityTypes::Event event_type) = 0;
78 79
79 // For accessibility, notify the delegate that a menu item was focused 80 // For accessibility, notify the delegate that a menu item was focused
80 // so that alternate feedback (speech / magnified text) can be provided. 81 // so that alternate feedback (speech / magnified text) can be provided.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Returns the default obscured text reveal duration. 118 // Returns the default obscured text reveal duration.
118 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0; 119 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0;
119 120
120 private: 121 private:
121 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_; 122 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_;
122 }; 123 };
123 124
124 } // namespace views 125 } // namespace views
125 126
126 #endif // UI_VIEWS_VIEWS_DELEGATE_H_ 127 #endif // UI_VIEWS_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698