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

Side by Side Diff: views/window/dialog_client_view.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 5 #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
6 #define VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 6 #define VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/font.h" 9 #include "ui/gfx/font.h"
10 #include "views/focus/focus_manager.h" 10 #include "views/focus/focus_manager.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Overridden from View: 62 // Overridden from View:
63 virtual void NativeViewHierarchyChanged(bool attached, 63 virtual void NativeViewHierarchyChanged(bool attached,
64 gfx::NativeView native_view, 64 gfx::NativeView native_view,
65 RootView* root_view); 65 RootView* root_view);
66 66
67 // Overridden from ClientView: 67 // Overridden from ClientView:
68 virtual bool CanClose(); 68 virtual bool CanClose();
69 virtual void WindowClosing(); 69 virtual void WindowClosing();
70 virtual int NonClientHitTest(const gfx::Point& point); 70 virtual int NonClientHitTest(const gfx::Point& point);
71 virtual DialogClientView* AsDialogClientView() { return this; } 71 virtual DialogClientView* AsDialogClientView();
72 72
73 // FocusChangeListener implementation: 73 // FocusChangeListener implementation:
74 virtual void FocusWillChange(View* focused_before, View* focused_now); 74 virtual void FocusWillChange(View* focused_before, View* focused_now);
75 75
76 protected: 76 protected:
77 // View overrides: 77 // View overrides:
78 virtual void OnPaint(gfx::Canvas* canvas); 78 virtual void OnPaint(gfx::Canvas* canvas);
79 virtual void PaintChildren(gfx::Canvas* canvas); 79 virtual void PaintChildren(gfx::Canvas* canvas);
80 virtual void Layout(); 80 virtual void Layout();
81 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); 81 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Static resource initialization 152 // Static resource initialization
153 static gfx::Font* dialog_button_font_; 153 static gfx::Font* dialog_button_font_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(DialogClientView); 155 DISALLOW_COPY_AND_ASSIGN(DialogClientView);
156 }; 156 };
157 157
158 } // namespace views 158 } // namespace views
159 159
160 #endif // #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 160 #endif // #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698