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

Side by Side Diff: ui/views/test/test_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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/test/test_views_delegate.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_TEST_TEST_VIEWS_DELEGATE_H_ 5 #ifndef UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
6 #define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 6 #define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 15 matching lines...) Expand all
26 virtual ~TestViewsDelegate(); 26 virtual ~TestViewsDelegate();
27 27
28 void SetUseTransparentWindows(bool transparent); 28 void SetUseTransparentWindows(bool transparent);
29 29
30 // Overridden from ViewsDelegate: 30 // Overridden from ViewsDelegate:
31 virtual void SaveWindowPlacement(const Widget* window, 31 virtual void SaveWindowPlacement(const Widget* window,
32 const std::string& window_name, 32 const std::string& window_name,
33 const gfx::Rect& bounds, 33 const gfx::Rect& bounds,
34 ui::WindowShowState show_state) OVERRIDE; 34 ui::WindowShowState show_state) OVERRIDE;
35 virtual bool GetSavedWindowPlacement( 35 virtual bool GetSavedWindowPlacement(
36 const Widget* window,
36 const std::string& window_name, 37 const std::string& window_name,
37 gfx::Rect* bounds, 38 gfx::Rect* bounds,
38 ui::WindowShowState* show_state) const OVERRIDE; 39 ui::WindowShowState* show_state) const OVERRIDE;
39 40
40 virtual void NotifyAccessibilityEvent( 41 virtual void NotifyAccessibilityEvent(
41 View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE {} 42 View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE {}
42 43
43 virtual void NotifyMenuItemFocused(const string16& menu_name, 44 virtual void NotifyMenuItemFocused(const string16& menu_name,
44 const string16& menu_item_name, 45 const string16& menu_item_name,
45 int item_index, 46 int item_index,
(...skipping 19 matching lines...) Expand all
65 66
66 private: 67 private:
67 bool use_transparent_windows_; 68 bool use_transparent_windows_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); 70 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
70 }; 71 };
71 72
72 } // namespace views 73 } // namespace views
73 74
74 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 75 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/test/test_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698