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

Side by Side Diff: views/controls/tabbed_pane/native_tabbed_pane_win.h

Issue 6995126: Make web content accessibility tree a descendant of main window's tree again (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_ 5 #ifndef VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_
6 #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_ 6 #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void CreateNativeControl(); 42 virtual void CreateNativeControl();
43 virtual bool ProcessMessage(UINT message, 43 virtual bool ProcessMessage(UINT message,
44 WPARAM w_param, 44 WPARAM w_param,
45 LPARAM l_param, 45 LPARAM l_param,
46 LRESULT* result); 46 LRESULT* result);
47 47
48 // View overrides: 48 // View overrides:
49 virtual void Layout(); 49 virtual void Layout();
50 virtual FocusTraversable* GetFocusTraversable(); 50 virtual FocusTraversable* GetFocusTraversable();
51 virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child); 51 virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);
52 virtual Widget* GetChildWidget();
53 52
54 private: 53 private:
55 // Called upon creation of native control to initialize tabs that are added 54 // Called upon creation of native control to initialize tabs that are added
56 // before the native control is created. 55 // before the native control is created.
57 void InitializeTabs(); 56 void InitializeTabs();
58 57
59 // Adds a tab with the given content to native control at the given index. 58 // Adds a tab with the given content to native control at the given index.
60 void AddNativeTab(int index, const std::wstring& title); 59 void AddNativeTab(int index, const std::wstring& title);
61 60
62 // Changes the contents view to the view associated with the tab at |index|. 61 // Changes the contents view to the view associated with the tab at |index|.
(...skipping 21 matching lines...) Expand all
84 83
85 // The window displayed in the tab. 84 // The window displayed in the tab.
86 Widget* content_window_; 85 Widget* content_window_;
87 86
88 DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneWin); 87 DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneWin);
89 }; 88 };
90 89
91 } // namespace views 90 } // namespace views
92 91
93 #endif // VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_ 92 #endif // VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_
OLDNEW
« no previous file with comments | « views/controls/native/native_view_host_wrapper.h ('k') | views/controls/tabbed_pane/native_tabbed_pane_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698