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

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

Issue 9166014: Allow a Views client to provide a default frameview for window widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/clipboard/clipboard.h" 8 #include "ui/base/clipboard/clipboard.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 21 matching lines...) Expand all
32 ui::WindowShowState show_state) { 32 ui::WindowShowState show_state) {
33 } 33 }
34 34
35 bool TestViewsDelegate::GetSavedWindowPlacement( 35 bool TestViewsDelegate::GetSavedWindowPlacement(
36 const std::string& window_name, 36 const std::string& window_name,
37 gfx::Rect* bounds, 37 gfx::Rect* bounds,
38 ui:: WindowShowState* show_state) const { 38 ui:: WindowShowState* show_state) const {
39 return false; 39 return false;
40 } 40 }
41 41
42 NonClientFrameView* TestViewsDelegate::CreateDefaultNonClientFrameView(
43 Widget* widget) {
44 return NULL;
45 }
46
42 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { 47 int TestViewsDelegate::GetDispositionForEvent(int event_flags) {
43 return 0; 48 return 0;
44 } 49 }
45 50
46 } // namespace views 51 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698