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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h

Issue 8508055: Move views::Accelerator to ui in order to use it from aura code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 9 years, 1 month 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) 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_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/bookmarks/recently_used_folders_combo_model.h" 10 #include "chrome/browser/bookmarks/recently_used_folders_combo_model.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual ~BookmarkBubbleView(); 42 virtual ~BookmarkBubbleView();
43 43
44 // views::BubbleDelegateView methods. 44 // views::BubbleDelegateView methods.
45 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 45 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
46 virtual gfx::Point GetAnchorPoint() OVERRIDE; 46 virtual gfx::Point GetAnchorPoint() OVERRIDE;
47 47
48 // views::WidgetDelegate method. 48 // views::WidgetDelegate method.
49 virtual void WindowClosing() OVERRIDE; 49 virtual void WindowClosing() OVERRIDE;
50 50
51 // views::View method. 51 // views::View method.
52 virtual bool AcceleratorPressed( 52 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
53 const views::Accelerator& accelerator) OVERRIDE;
54 53
55 protected: 54 protected:
56 // views::BubbleDelegateView method. 55 // views::BubbleDelegateView method.
57 virtual void Init() OVERRIDE; 56 virtual void Init() OVERRIDE;
58 57
59 private: 58 private:
60 // Creates a BookmarkBubbleView. 59 // Creates a BookmarkBubbleView.
61 BookmarkBubbleView(views::View* anchor_view, 60 BookmarkBubbleView(views::View* anchor_view,
62 Profile* profile, 61 Profile* profile,
63 const GURL& url, 62 const GURL& url,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // When the destructor is invoked should the bookmark be removed? 124 // When the destructor is invoked should the bookmark be removed?
126 bool remove_bookmark_; 125 bool remove_bookmark_;
127 126
128 // When the destructor is invoked should edits be applied? 127 // When the destructor is invoked should edits be applied?
129 bool apply_edits_; 128 bool apply_edits_;
130 129
131 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); 130 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView);
132 }; 131 };
133 132
134 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 133 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/avatar_menu_bubble_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698