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

Side by Side Diff: ui/views/test/test_views_delegate.cc

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.h ('k') | ui/views/views_delegate.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 #include "ui/views/test/test_views_delegate.h" 5 #include "ui/views/test/test_views_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "content/public/test/web_contents_tester.h" 9 #include "content/public/test/web_contents_tester.h"
10 10
(...skipping 18 matching lines...) Expand all
29 use_transparent_windows_ = transparent; 29 use_transparent_windows_ = transparent;
30 } 30 }
31 31
32 void TestViewsDelegate::SaveWindowPlacement(const Widget* window, 32 void TestViewsDelegate::SaveWindowPlacement(const Widget* window,
33 const std::string& window_name, 33 const std::string& window_name,
34 const gfx::Rect& bounds, 34 const gfx::Rect& bounds,
35 ui::WindowShowState show_state) { 35 ui::WindowShowState show_state) {
36 } 36 }
37 37
38 bool TestViewsDelegate::GetSavedWindowPlacement( 38 bool TestViewsDelegate::GetSavedWindowPlacement(
39 const Widget* window,
39 const std::string& window_name, 40 const std::string& window_name,
40 gfx::Rect* bounds, 41 gfx::Rect* bounds,
41 ui:: WindowShowState* show_state) const { 42 ui:: WindowShowState* show_state) const {
42 return false; 43 return false;
43 } 44 }
44 45
45 NonClientFrameView* TestViewsDelegate::CreateDefaultNonClientFrameView( 46 NonClientFrameView* TestViewsDelegate::CreateDefaultNonClientFrameView(
46 Widget* widget) { 47 Widget* widget) {
47 return NULL; 48 return NULL;
48 } 49 }
(...skipping 11 matching lines...) Expand all
60 void TestViewsDelegate::OnBeforeWidgetInit( 61 void TestViewsDelegate::OnBeforeWidgetInit(
61 Widget::InitParams* params, 62 Widget::InitParams* params,
62 internal::NativeWidgetDelegate* delegate) { 63 internal::NativeWidgetDelegate* delegate) {
63 } 64 }
64 65
65 base::TimeDelta TestViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { 66 base::TimeDelta TestViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() {
66 return base::TimeDelta(); 67 return base::TimeDelta();
67 } 68 }
68 69
69 } // namespace views 70 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/test/test_views_delegate.h ('k') | ui/views/views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698