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

Unified Diff: chrome/browser/views/pinned_contents_info_bubble.h

Issue 2060004: Removing the app launcher button on ChromeOS (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: One more clean up Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/info_bubble.cc ('k') | chrome/browser/views/pinned_contents_info_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/pinned_contents_info_bubble.h
diff --git a/chrome/browser/views/pinned_contents_info_bubble.h b/chrome/browser/views/pinned_contents_info_bubble.h
index 87d2a9d528397b928a49aac37746849dccc0e135..8033b3987298d736380a395c8f2f4dd05cf60929 100644
--- a/chrome/browser/views/pinned_contents_info_bubble.h
+++ b/chrome/browser/views/pinned_contents_info_bubble.h
@@ -31,25 +31,6 @@ class PinnedContentsBorderContents : public BorderContents {
DISALLOW_COPY_AND_ASSIGN(PinnedContentsBorderContents);
};
-#if defined(OS_WIN)
-// The window that surrounds the info bubble. See base class for details.
-class PinnedContentsBorderWidget : public BorderWidget {
- public:
- explicit PinnedContentsBorderWidget(const gfx::Point& bubble_anchor)
- : bubble_anchor_(bubble_anchor) {}
- virtual ~PinnedContentsBorderWidget() {}
-
- // BorderWidget overrides:
- virtual BorderContents* CreateBorderContents();
-
- private:
- // The location of the pinned contents (in screen coordinates).
- const gfx::Point bubble_anchor_;
-
- DISALLOW_COPY_AND_ASSIGN(PinnedContentsBorderWidget);
-};
-#endif
-
// A specialization of the InfoBubble. Used to draw an InfoBubble which, in
// addition to having an arrow pointing to where the user clicked, also shifts
// the bubble horizontally to fix it to a specific location. See base class
@@ -69,16 +50,14 @@ class PinnedContentsInfoBubble : public InfoBubble {
views::View* contents,
InfoBubbleDelegate* delegate);
+ // InfoBubble overrides:
+ virtual BorderContents* CreateBorderContents();
+
private:
explicit PinnedContentsInfoBubble(const gfx::Point& bubble_anchor)
: bubble_anchor_(bubble_anchor) {}
virtual ~PinnedContentsInfoBubble() {}
- // InfoBubble overrides:
-#if defined(OS_WIN)
- virtual BorderWidget* CreateBorderWidget();
-#endif
-
// The location of the pinned contents (in screen coordinates).
const gfx::Point bubble_anchor_;
« no previous file with comments | « chrome/browser/views/info_bubble.cc ('k') | chrome/browser/views/pinned_contents_info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698