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

Side by Side Diff: ui/views/bubble/bubble_frame_view.h

Issue 10993087: Handle titlebar text updates properly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Odd - build machine failed to update patch (which I updated successfully) Re-uploading Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/panels/panel_frame_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 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_BUBBLE_BUBBLE_FRAME_VIEW_H_ 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
6 #define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ 6 #define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // NonClientFrameView overrides: 26 // NonClientFrameView overrides:
27 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 27 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
28 virtual gfx::Rect GetWindowBoundsForClientBounds( 28 virtual gfx::Rect GetWindowBoundsForClientBounds(
29 const gfx::Rect& client_bounds) const OVERRIDE; 29 const gfx::Rect& client_bounds) const OVERRIDE;
30 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 30 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
31 virtual void GetWindowMask(const gfx::Size& size, 31 virtual void GetWindowMask(const gfx::Size& size,
32 gfx::Path* window_mask) OVERRIDE {} 32 gfx::Path* window_mask) OVERRIDE {}
33 virtual void ResetWindowControls() OVERRIDE {} 33 virtual void ResetWindowControls() OVERRIDE {}
34 virtual void UpdateWindowIcon() OVERRIDE {} 34 virtual void UpdateWindowIcon() OVERRIDE {}
35 virtual void UpdateWindowTitle() OVERRIDE {}
35 36
36 // View overrides: 37 // View overrides:
37 virtual gfx::Size GetPreferredSize() OVERRIDE; 38 virtual gfx::Size GetPreferredSize() OVERRIDE;
38 39
39 BubbleBorder* bubble_border() const { return bubble_border_; } 40 BubbleBorder* bubble_border() const { return bubble_border_; }
40 41
41 gfx::Insets content_margins() const { return content_margins_; } 42 gfx::Insets content_margins() const { return content_margins_; }
42 43
43 // Given the size of the contents and the rect to point at, returns the bounds 44 // Given the size of the contents and the rect to point at, returns the bounds
44 // of the bubble window. The bubble's arrow location may change if the bubble 45 // of the bubble window. The bubble's arrow location may change if the bubble
(...skipping 28 matching lines...) Expand all
73 74
74 // Margins between the content and the inside of the border, in pixels. 75 // Margins between the content and the inside of the border, in pixels.
75 gfx::Insets content_margins_; 76 gfx::Insets content_margins_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView); 78 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView);
78 }; 79 };
79 80
80 } // namespace views 81 } // namespace views
81 82
82 #endif // UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ 83 #endif // UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/panels/panel_frame_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698