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

Side by Side Diff: chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h

Issue 931643003: Improve accessibility for the bookmark app bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // Overriden from views::BubbleDelegateView: 49 // Overriden from views::BubbleDelegateView:
50 void Init() override; 50 void Init() override;
51 views::View* GetInitiallyFocusedView() override; 51 views::View* GetInitiallyFocusedView() override;
52 52
53 // Overridden from views::WidgetDelegate: 53 // Overridden from views::WidgetDelegate:
54 void WindowClosing() override; 54 void WindowClosing() override;
55 55
56 // Overridden from views::View: 56 // Overridden from views::View:
57 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 57 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
58 void GetAccessibleState(ui::AXViewState* state) override;
58 gfx::Size GetMinimumSize() const override; 59 gfx::Size GetMinimumSize() const override;
59 60
60 // Overridden from views::ButtonListener: 61 // Overridden from views::ButtonListener:
61 // Closes the bubble or opens the edit dialog. 62 // Closes the bubble or opens the edit dialog.
62 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 63 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
63 64
64 // Overridden from views::TextfieldController: 65 // Overridden from views::TextfieldController:
65 void ContentsChanged(views::Textfield* sender, 66 void ContentsChanged(views::Textfield* sender,
66 const base::string16& new_contents) override; 67 const base::string16& new_contents) override;
67 68
(...skipping 27 matching lines...) Expand all
95 // Textfield showing the title of the app. 96 // Textfield showing the title of the app.
96 views::Textfield* title_tf_; 97 views::Textfield* title_tf_;
97 98
98 // Image showing the icon of the app. 99 // Image showing the icon of the app.
99 views::ImageView* icon_image_view_; 100 views::ImageView* icon_image_view_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(BookmarkAppBubbleView); 102 DISALLOW_COPY_AND_ASSIGN(BookmarkAppBubbleView);
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_ 105 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BOOKMARK_APP_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698