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

Side by Side Diff: views/controls/native/native_view_host.cc

Issue 8547015: Revert 110949 - views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « views/controls/message_box_view.cc ('k') | views/controls/native/native_view_host_aura.cc » ('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) 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 "views/controls/native/native_view_host.h" 5 #include "views/controls/native/native_view_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/gfx/canvas.h" 8 #include "ui/gfx/canvas.h"
9 #include "ui/views/widget/widget.h"
10 #include "views/controls/native/native_view_host_wrapper.h" 9 #include "views/controls/native/native_view_host_wrapper.h"
10 #include "views/widget/widget.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 // static 14 // static
15 const char NativeViewHost::kViewClassName[] = "views/NativeViewHost"; 15 const char NativeViewHost::kViewClassName[] = "views/NativeViewHost";
16 16
17 #if defined(OS_LINUX) 17 #if defined(OS_LINUX)
18 // GTK renders the focus. 18 // GTK renders the focus.
19 // static 19 // static
20 const bool NativeViewHost::kRenderNativeControlFocus = false; 20 const bool NativeViewHost::kRenderNativeControlFocus = false;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // NativeViewHost, private: 179 // NativeViewHost, private:
180 180
181 void NativeViewHost::Detach(bool destroyed) { 181 void NativeViewHost::Detach(bool destroyed) {
182 if (native_view_) { 182 if (native_view_) {
183 native_wrapper_->NativeViewDetaching(destroyed); 183 native_wrapper_->NativeViewDetaching(destroyed);
184 native_view_ = NULL; 184 native_view_ = NULL;
185 } 185 }
186 } 186 }
187 187
188 } // namespace views 188 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/message_box_view.cc ('k') | views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698