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

Side by Side Diff: ui/views/views_delegate.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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/view_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const std::string& window_name, 73 const std::string& window_name,
74 gfx::Rect* bounds, 74 gfx::Rect* bounds,
75 ui::WindowShowState* show_state) const = 0; 75 ui::WindowShowState* show_state) const = 0;
76 76
77 virtual void NotifyAccessibilityEvent( 77 virtual void NotifyAccessibilityEvent(
78 View* view, 78 View* view,
79 ui::AccessibilityTypes::Event event_type) = 0; 79 ui::AccessibilityTypes::Event event_type) = 0;
80 80
81 // For accessibility, notify the delegate that a menu item was focused 81 // For accessibility, notify the delegate that a menu item was focused
82 // so that alternate feedback (speech / magnified text) can be provided. 82 // so that alternate feedback (speech / magnified text) can be provided.
83 virtual void NotifyMenuItemFocused(const string16& menu_name, 83 virtual void NotifyMenuItemFocused(const base::string16& menu_name,
84 const string16& menu_item_name, 84 const base::string16& menu_item_name,
85 int item_index, 85 int item_index,
86 int item_count, 86 int item_count,
87 bool has_submenu) = 0; 87 bool has_submenu) = 0;
88 88
89 #if defined(OS_WIN) 89 #if defined(OS_WIN)
90 // Retrieves the default window icon to use for windows if none is specified. 90 // Retrieves the default window icon to use for windows if none is specified.
91 virtual HICON GetDefaultWindowIcon() const = 0; 91 virtual HICON GetDefaultWindowIcon() const = 0;
92 // Returns true if the window passed in is in the Windows 8 metro 92 // Returns true if the window passed in is in the Windows 8 metro
93 // environment. 93 // environment.
94 virtual bool IsWindowInMetro(gfx::NativeWindow window) const = 0; 94 virtual bool IsWindowInMetro(gfx::NativeWindow window) const = 0;
(...skipping 24 matching lines...) Expand all
119 // Returns the default obscured text reveal duration. 119 // Returns the default obscured text reveal duration.
120 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0; 120 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0;
121 121
122 private: 122 private:
123 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_; 123 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_;
124 }; 124 };
125 125
126 } // namespace views 126 } // namespace views
127 127
128 #endif // UI_VIEWS_VIEWS_DELEGATE_H_ 128 #endif // UI_VIEWS_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698