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

Side by Side Diff: views/widget/child_window_message_processor.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « views/view_text_utils.cc ('k') | views/widget/default_theme_provider.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "views/widget/child_window_message_processor.h" 5 #include "views/widget/child_window_message_processor.h"
6 6
7 #include "app/view_prop.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/view_prop.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 static const char* const kChildWindowKey = "__CHILD_WINDOW_MESSAGE_PROCESSOR__"; 12 static const char* const kChildWindowKey = "__CHILD_WINDOW_MESSAGE_PROCESSOR__";
13 13
14 // static 14 // static
15 app::ViewProp* ChildWindowMessageProcessor::Register( 15 ui::ViewProp* ChildWindowMessageProcessor::Register(
16 HWND hwnd, 16 HWND hwnd,
17 ChildWindowMessageProcessor* processor) { 17 ChildWindowMessageProcessor* processor) {
18 DCHECK(processor); 18 DCHECK(processor);
19 return new app::ViewProp(hwnd, kChildWindowKey, processor); 19 return new ui::ViewProp(hwnd, kChildWindowKey, processor);
20 } 20 }
21 21
22 // static 22 // static
23 ChildWindowMessageProcessor* ChildWindowMessageProcessor::Get(HWND hwnd) { 23 ChildWindowMessageProcessor* ChildWindowMessageProcessor::Get(HWND hwnd) {
24 return reinterpret_cast<ChildWindowMessageProcessor*>( 24 return reinterpret_cast<ChildWindowMessageProcessor*>(
25 app::ViewProp::GetValue(hwnd, kChildWindowKey)); 25 ui::ViewProp::GetValue(hwnd, kChildWindowKey));
26 } 26 }
27 27
28 } // namespace 28 } // namespace
OLDNEW
« no previous file with comments | « views/view_text_utils.cc ('k') | views/widget/default_theme_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698