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

Side by Side Diff: chrome/browser/ui/views/frame/web_contents_close_handler.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_
7 7
8 #include "base/macros.h"
8 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
9 10
10 class WebContentsCloseHandlerDelegate; 11 class WebContentsCloseHandlerDelegate;
11 class WebContentsCloseHandlerTest; 12 class WebContentsCloseHandlerTest;
12 13
13 // WebContentsCloseHandler handles notifying its delegate at the right time 14 // WebContentsCloseHandler handles notifying its delegate at the right time
14 // to clone and/or destroy the layer tree of the active tab. This is done so 15 // to clone and/or destroy the layer tree of the active tab. This is done so
15 // that on closing a window the user sees the contents of the last active 16 // that on closing a window the user sees the contents of the last active
16 // tab rather than an empty rect. 17 // tab rather than an empty rect.
17 class WebContentsCloseHandler { 18 class WebContentsCloseHandler {
(...skipping 28 matching lines...) Expand all
46 // Set to true if the active tab changes while closing (ActiveTabChanged() 47 // Set to true if the active tab changes while closing (ActiveTabChanged()
47 // was invoked following a WillCloseAllTabs()). 48 // was invoked following a WillCloseAllTabs()).
48 bool tab_changed_after_clone_; 49 bool tab_changed_after_clone_;
49 50
50 base::OneShotTimer timer_; 51 base::OneShotTimer timer_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(WebContentsCloseHandler); 53 DISALLOW_COPY_AND_ASSIGN(WebContentsCloseHandler);
53 }; 54 };
54 55
55 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_ 56 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_WEB_CONTENTS_CLOSE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698