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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_ 5 #ifndef UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
6 #define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_ 6 #define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_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"
11 #include "base/string16.h" 11 #include "base/string16.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // View: 82 // View:
83 virtual void Layout() OVERRIDE; 83 virtual void Layout() OVERRIDE;
84 virtual void ViewHierarchyChanged(bool is_add, 84 virtual void ViewHierarchyChanged(bool is_add,
85 View* parent, 85 View* parent,
86 View* child) OVERRIDE; 86 View* child) OVERRIDE;
87 // Handles Ctrl+Tab and Ctrl+Shift+Tab navigation of pages. 87 // Handles Ctrl+Tab and Ctrl+Shift+Tab navigation of pages.
88 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 88 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
89 virtual std::string GetClassName() const OVERRIDE; 89 virtual std::string GetClassName() const OVERRIDE;
90 virtual void OnFocus() OVERRIDE; 90 virtual void OnFocus() OVERRIDE;
91 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE; 91 virtual void OnPaintFocusBorder(gfx::CanvasSkia* canvas) OVERRIDE;
92 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 92 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
93 93
94 // The listener we notify about tab selection changes. 94 // The listener we notify about tab selection changes.
95 TabbedPaneListener* listener_; 95 TabbedPaneListener* listener_;
96 96
97 // The accessible name of this view. 97 // The accessible name of this view.
98 string16 accessible_name_; 98 string16 accessible_name_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(TabbedPane); 100 DISALLOW_COPY_AND_ASSIGN(TabbedPane);
101 }; 101 };
102 102
103 } // namespace views 103 } // namespace views
104 104
105 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_ 105 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698