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

Side by Side Diff: chrome/views/native_control.h

Issue 20112: Cleanup forward declared classes that are not needed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« no previous file with comments | « chrome/views/native_button.h ('k') | chrome/views/table_view.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) 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 CHROME_VIEWS_NATIVE_CONTROL_H__ 5 #ifndef CHROME_VIEWS_NATIVE_CONTROL_H__
6 #define CHROME_VIEWS_NATIVE_CONTROL_H__ 6 #define CHROME_VIEWS_NATIVE_CONTROL_H__
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "chrome/views/view.h" 10 #include "chrome/views/view.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 class HWNDView; 14 class HWNDView;
15 class NativeControlContainer; 15 class NativeControlContainer;
16 class RootView;
17 16
18 //////////////////////////////////////////////////////////////////////////////// 17 ////////////////////////////////////////////////////////////////////////////////
19 // 18 //
20 // NativeControl is an abstract view that is used to implement views wrapping 19 // NativeControl is an abstract view that is used to implement views wrapping
21 // native controls. Subclasses can simply implement CreateNativeControl() to 20 // native controls. Subclasses can simply implement CreateNativeControl() to
22 // wrap a new kind of control 21 // wrap a new kind of control
23 // 22 //
24 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
25 class NativeControl : public View { 24 class NativeControl : public View {
26 public: 25 public:
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 117
119 private: 118 private:
120 119
121 void ValidateNativeControl(); 120 void ValidateNativeControl();
122 121
123 static LRESULT CALLBACK NativeControlWndProc(HWND window, UINT message, 122 static LRESULT CALLBACK NativeControlWndProc(HWND window, UINT message,
124 WPARAM w_param, LPARAM l_param); 123 WPARAM w_param, LPARAM l_param);
125 124
126 NativeControlContainer* container_; 125 NativeControlContainer* container_;
127 126
128 DISALLOW_EVIL_CONSTRUCTORS(NativeControl); 127 DISALLOW_COPY_AND_ASSIGN(NativeControl);
129 }; 128 };
130 129
131 } // namespace views 130 } // namespace views
132 131
133 #endif // CHROME_VIEWS_NATIVE_CONTROL_H__ 132 #endif // CHROME_VIEWS_NATIVE_CONTROL_H__
134
OLDNEW
« no previous file with comments | « chrome/views/native_button.h ('k') | chrome/views/table_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698