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

Side by Side Diff: Source/web/WebAXObject.cpp

Issue 545123002: Cleanup namespace usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « no previous file | Source/web/WebNode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/rendering/style/RenderStyle.h" 47 #include "core/rendering/style/RenderStyle.h"
48 #include "platform/PlatformKeyboardEvent.h" 48 #include "platform/PlatformKeyboardEvent.h"
49 #include "public/platform/WebPoint.h" 49 #include "public/platform/WebPoint.h"
50 #include "public/platform/WebRect.h" 50 #include "public/platform/WebRect.h"
51 #include "public/platform/WebString.h" 51 #include "public/platform/WebString.h"
52 #include "public/platform/WebURL.h" 52 #include "public/platform/WebURL.h"
53 #include "public/web/WebDocument.h" 53 #include "public/web/WebDocument.h"
54 #include "public/web/WebNode.h" 54 #include "public/web/WebNode.h"
55 #include "wtf/text/StringBuilder.h" 55 #include "wtf/text/StringBuilder.h"
56 56
57 using namespace blink;
58
59 namespace blink { 57 namespace blink {
60 58
61 #if ENABLE(ASSERT) 59 #if ENABLE(ASSERT)
62 // It's not safe to call some WebAXObject APIs if a layout is pending. 60 // It's not safe to call some WebAXObject APIs if a layout is pending.
63 // Clients should call updateLayoutAndCheckValidity first. 61 // Clients should call updateLayoutAndCheckValidity first.
64 static bool isLayoutClean(Document* document) 62 static bool isLayoutClean(Document* document)
65 { 63 {
66 if (!document || !document->view()) 64 if (!document || !document->view())
67 return false; 65 return false;
68 return document->lifecycle().state() >= DocumentLifecycle::LayoutClean 66 return document->lifecycle().state() >= DocumentLifecycle::LayoutClean
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 m_private = object; 1155 m_private = object;
1158 return *this; 1156 return *this;
1159 } 1157 }
1160 1158
1161 WebAXObject::operator WTF::PassRefPtr<AXObject>() const 1159 WebAXObject::operator WTF::PassRefPtr<AXObject>() const
1162 { 1160 {
1163 return m_private.get(); 1161 return m_private.get();
1164 } 1162 }
1165 1163
1166 } // namespace blink 1164 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698