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

Side by Side Diff: components/dom_distiller/content/browser/web_contents_main_frame_observer.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSERVE R_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSERVE R_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSERVE R_H_ 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSERVE R_H_
7 7
8 #include "base/macros.h"
8 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
9 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
10 #include "content/public/browser/web_contents_user_data.h" 11 #include "content/public/browser/web_contents_user_data.h"
11 12
12 namespace dom_distiller { 13 namespace dom_distiller {
13 14
14 // Tracks whether DocumentLoadedInFrame has been called for the main frame for 15 // Tracks whether DocumentLoadedInFrame has been called for the main frame for
15 // the current main frame for the given WebContents. It removes itself as an 16 // the current main frame for the given WebContents. It removes itself as an
16 // observer if the WebContents is destroyed or the render process is gone. 17 // observer if the WebContents is destroyed or the render process is gone.
17 class WebContentsMainFrameObserver 18 class WebContentsMainFrameObserver
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Whether this object has been correctly initialized. This is set as soon as 50 // Whether this object has been correctly initialized. This is set as soon as
50 // at least one call to DidNavigateMainFrame has happened. 51 // at least one call to DidNavigateMainFrame has happened.
51 bool is_initialized_; 52 bool is_initialized_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(WebContentsMainFrameObserver); 54 DISALLOW_COPY_AND_ASSIGN(WebContentsMainFrameObserver);
54 }; 55 };
55 56
56 } // namespace dom_distiller 57 } // namespace dom_distiller
57 58
58 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSE RVER_H_ 59 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_WEB_CONTENTS_MAIN_FRAME_OBSE RVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698