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

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

Issue 1005293002: Re-land: Resurrect Aura Linux accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 30 matching lines...) Expand all
41 #endif 41 #endif
42 void AddRef() override; 42 void AddRef() override;
43 void ReleaseRef() override; 43 void ReleaseRef() override;
44 void OnBeforeWidgetInit( 44 void OnBeforeWidgetInit(
45 views::Widget::InitParams* params, 45 views::Widget::InitParams* params,
46 views::internal::NativeWidgetDelegate* delegate) override; 46 views::internal::NativeWidgetDelegate* delegate) override;
47 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 47 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
48 bool WindowManagerProvidesTitleBar(bool maximized) override; 48 bool WindowManagerProvidesTitleBar(bool maximized) override;
49 #endif 49 #endif
50 ui::ContextFactory* GetContextFactory() override; 50 ui::ContextFactory* GetContextFactory() override;
51 std::string GetApplicationName() override;
51 #if defined(OS_WIN) 52 #if defined(OS_WIN)
52 virtual int GetAppbarAutohideEdges(HMONITOR monitor, 53 virtual int GetAppbarAutohideEdges(HMONITOR monitor,
53 const base::Closure& callback) override; 54 const base::Closure& callback) override;
54 #endif 55 #endif
55 56
56 private: 57 private:
57 #if defined(OS_WIN) 58 #if defined(OS_WIN)
58 typedef std::map<HMONITOR, int> AppbarAutohideEdgeMap; 59 typedef std::map<HMONITOR, int> AppbarAutohideEdgeMap;
59 60
60 // Callback on main thread with the edges. |returned_edges| is the value that 61 // Callback on main thread with the edges. |returned_edges| is the value that
(...skipping 15 matching lines...) Expand all
76 // GetAutohideEdges().start a new query. 77 // GetAutohideEdges().start a new query.
77 bool in_autohide_edges_callback_; 78 bool in_autohide_edges_callback_;
78 79
79 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; 80 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_;
80 #endif 81 #endif
81 82
82 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 83 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
83 }; 84 };
84 85
85 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 86 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698