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

Side by Side Diff: chrome/browser/ui/views/dom_view.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 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 "chrome/browser/ui/views/dom_view.h" 5 #include "chrome/browser/ui/views/dom_view.h"
6 6
7 #include "chrome/browser/profiles/profile.h"
7 #include "chrome/browser/renderer_preferences_util.h" 8 #include "chrome/browser/renderer_preferences_util.h"
8 #include "content/browser/tab_contents/tab_contents.h" 9 #include "content/browser/tab_contents/tab_contents.h"
9 #include "views/focus/focus_manager.h" 10 #include "views/focus/focus_manager.h"
10 11
11 #if defined(TOUCH_UI) 12 #if defined(TOUCH_UI)
12 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_touch.h" 13 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_touch.h"
13 #endif 14 #endif
14 15
15 // static 16 // static
16 const char DOMView::kViewClassName[] = 17 const char DOMView::kViewClassName[] =
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 Detach(); 79 Detach();
79 } 80 }
80 81
81 void DOMView::AttachTabContents() { 82 void DOMView::AttachTabContents() {
82 #if defined(TOUCH_UI) 83 #if defined(TOUCH_UI)
83 AttachToView(static_cast<TabContentsViewTouch*>(tab_contents_->view())); 84 AttachToView(static_cast<TabContentsViewTouch*>(tab_contents_->view()));
84 #else 85 #else
85 Attach(tab_contents_->GetNativeView()); 86 Attach(tab_contents_->GetNativeView());
86 #endif 87 #endif
87 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698