Home | History | Annotate | Download | only in frame
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_
      6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_
      7 #pragma once
      8 
      9 namespace views {
     10 class NonClientFrameView;
     11 class RootView;
     12 }
     13 
     14 class NativeBrowserFrameDelegate {
     15  public:
     16   virtual ~NativeBrowserFrameDelegate() {}
     17 
     18   // TODO(beng): Remove these once BrowserFrame is-a Window is-a Widget, at
     19   //             which point BrowserFrame can just override Widget's method.
     20   virtual views::RootView* DelegateCreateRootView() = 0;
     21   virtual views::NonClientFrameView* DelegateCreateFrameViewForWindow() = 0;
     22 };
     23 
     24 #endif  // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_
     25