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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_aura.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/frame/browser_frame_aura.h" 5 #include "chrome/browser/ui/views/frame/browser_frame_aura.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/themes/theme_service.h" 8 #include "chrome/browser/themes/theme_service.h"
9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h" 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h"
10 #include "chrome/browser/ui/views/frame/browser_view.h" 10 #include "chrome/browser/ui/views/frame/browser_view.h"
11 #include "grit/theme_resources_standard.h" 11 #include "grit/theme_resources_standard.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "third_party/skia/include/core/SkCanvas.h" 13 #include "third_party/skia/include/core/SkCanvas.h"
14 #include "third_party/skia/include/core/SkColor.h" 14 #include "third_party/skia/include/core/SkColor.h"
15 #include "ui/aura/aura_switches.h" 15 #include "ui/aura/aura_switches.h"
16 #include "ui/aura/client/aura_constants.h" 16 #include "ui/aura/client/aura_constants.h"
17 #include "ui/aura/client/shadow_types.h" 17 #include "ui/aura/client/shadow_types.h"
18 #include "ui/aura/window.h" 18 #include "ui/aura/window.h"
19 #include "ui/base/resource/resource_bundle.h" 19 #include "ui/base/resource/resource_bundle.h"
20 #include "ui/base/theme_provider.h" 20 #include "ui/base/theme_provider.h"
21 #include "ui/gfx/canvas.h" 21 #include "ui/gfx/canvas.h"
22 #include "ui/gfx/compositor/layer.h" 22 #include "ui/gfx/compositor/layer.h"
23 #include "ui/gfx/font.h" 23 #include "ui/gfx/font.h"
24 #include "views/background.h" 24 #include "ui/views/background.h"
25 25
26 namespace { 26 namespace {
27 27
28 // The content left/right images have a shadow built into them. 28 // The content left/right images have a shadow built into them.
29 const int kContentEdgeShadowThickness = 2; 29 const int kContentEdgeShadowThickness = 2;
30 30
31 // Background view to paint the gradient behind the back/forward/omnibox 31 // Background view to paint the gradient behind the back/forward/omnibox
32 // toolbar area. 32 // toolbar area.
33 class ToolbarBackground : public views::Background { 33 class ToolbarBackground : public views::Background {
34 public: 34 public:
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 //////////////////////////////////////////////////////////////////////////////// 214 ////////////////////////////////////////////////////////////////////////////////
215 // NativeBrowserFrame, public: 215 // NativeBrowserFrame, public:
216 216
217 // static 217 // static
218 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame( 218 NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame(
219 BrowserFrame* browser_frame, 219 BrowserFrame* browser_frame,
220 BrowserView* browser_view) { 220 BrowserView* browser_view) {
221 return new BrowserFrameAura(browser_frame, browser_view); 221 return new BrowserFrameAura(browser_frame, browser_view);
222 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/first_run_search_engine_view.cc ('k') | chrome/browser/ui/views/frame/browser_frame_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698