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

Side by Side Diff: athena/main/athena_views_delegate.cc

Issue 544953003: Supprot V2 app: step1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
« no previous file with comments | « athena/main/athena_views_delegate.h ('k') | chrome/browser/ui/views/athena/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "athena/main/athena_views_delegate.h"
6
7 #include "athena/main/athena_frame_view.h"
8 #include "athena/screen/public/screen_manager.h"
9
10 namespace athena {
11
12 void AthenaViewsDelegate::OnBeforeWidgetInit(
13 views::Widget::InitParams* params,
14 views::internal::NativeWidgetDelegate* delegate) {
15 params->context = athena::ScreenManager::Get()->GetContext();
16 }
17
18 views::NonClientFrameView* AthenaViewsDelegate::CreateDefaultNonClientFrameView(
19 views::Widget* widget) {
20 return new AthenaFrameView(widget);
21 }
22
23 } // namespace athena
OLDNEW
« no previous file with comments | « athena/main/athena_views_delegate.h ('k') | chrome/browser/ui/views/athena/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698