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

Side by Side Diff: chrome/browser/ui/views/chrome_views_delegate.h

Issue 9166014: Allow a Views client to provide a default frameview for window widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 20 matching lines...) Expand all
31 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE; 31 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE;
32 virtual void NotifyMenuItemFocused(const string16& menu_name, 32 virtual void NotifyMenuItemFocused(const string16& menu_name,
33 const string16& menu_item_name, 33 const string16& menu_item_name,
34 int item_index, 34 int item_index,
35 int item_count, 35 int item_count,
36 bool has_submenu) OVERRIDE; 36 bool has_submenu) OVERRIDE;
37 37
38 #if defined(OS_WIN) 38 #if defined(OS_WIN)
39 virtual HICON GetDefaultWindowIcon() const OVERRIDE; 39 virtual HICON GetDefaultWindowIcon() const OVERRIDE;
40 #endif 40 #endif
41 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView(
42 views::Widget* widget) OVERRIDE;
41 virtual void AddRef() OVERRIDE; 43 virtual void AddRef() OVERRIDE;
42 virtual void ReleaseRef() OVERRIDE; 44 virtual void ReleaseRef() OVERRIDE;
43 45
44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; 46 virtual int GetDispositionForEvent(int event_flags) OVERRIDE;
45 47
46 private: 48 private:
47 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 49 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
48 }; 50 };
49 51
50 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 52 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698